#536f17
a dark, vivid green · warm · closest name: Dark Olive Green
At a glance
Every number on this page in one read: what #536f17 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #536f17 |
| RGB | rgb(83, 111, 23) |
| HSL | hsl(79, 66%, 26%) |
| CMYK | cmyk(25%, 0%, 79%, 57%) |
| LAB | lab(43.2 -23.8 42.5) |
| LCH | lch(43.2 48.6 119.2) |
| OKLCH | oklch(0.502 0.117 126.1) |
| Decimal | 5467927 |
| Display P3 | color(display-p3 0.325 0.435 0.090) |
Copy-ready code
/* CSS */
color: #536f17;
background-color: #536f17;
/* Tailwind (arbitrary) */
class="text-[#536f17] bg-[#536f17]"
/* SCSS */
$brand: #536f17;
/* SwiftUI */
Color(red: 0.325, green: 0.435, blue: 0.090)
/* Android */
Color.parseColor("#536f17")
/* Flutter */
Color(0xFF536F17)
/* Python / OpenCV (BGR) */
(23, 111, 83)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #536f17 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9FBF3;
--brand-100: #F3F8E8;
--brand-200: #E5F1CB;
--brand-300: #D4ECA2;
--brand-400: #BFE274;
--brand-500: #AAD945;
--brand-600: #98CB2A;
--brand-700: #7EA923;
--brand-800: #65871C;
--brand-900: #536f17;
--brand-950: #2F3D0F;
--brand: #536f17;
--brand-ink: #ffffff;
}Colors that work with #536f17
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #536f17
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Black text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #33176F | Directly opposite — maximum tension | |
| Analogous left | #6F5F17 | Neighbour, quieter | |
| Analogous right | #276F17 | Neighbour, quieter | |
| Split-complement 1 | #17276F | Contrast without the clash | |
| Split-complement 2 | #5F176F | Contrast without the clash | |
| Triadic 1 | #17536F | Even thirds — balanced and loud | |
| Triadic 2 | #6F1753 | Even thirds — balanced and loud | |
| Tetradic | #176F5F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#536f17 text on a black background
contrast 3.65:1
#536f17 text on a white background
contrast 5.75:1
CSS3 live lab
The quick brown fox
color: #536f17;
background-color: #536f17;
Glowing headline
text-shadow: 2px 2px 8px #536f17;
Soft neon halo
text-shadow: 0 0 14px rgba(83, 111, 23, 0.45);
box-shadow: 0 12px 32px -8px rgba(83, 111, 23, 0.45);
border: 3px solid #536f17; background: linear-gradient(135deg, #536f17, #186F17);
Monochromatic scale
Palettes built from #536f17
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Fern Green (#4f7942) — ΔE2000 8.5 away, with its history, psychology and brand usage.
#536f17 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#536f17, answered
What color is #536f17?
#536f17 is a dark vivid green, closest to Dark Olive Green (ΔE2000 4.6). It sits at 79° on the hue wheel with 66% saturation and 26% lightness, which reads as warm.
What is the RGB value of #536f17?
rgb(83, 111, 23) — 83 red, 111 green and 23 blue out of 255, or 32.5% / 43.5% / 9% by channel.
Is #536f17 a light or a dark color?
It is a dark color. Relative luminance is 0.1327 and perceived brightness is 38%, so white text on it reaches 5.75:1.
Should I use black or white text on #536f17?
White. It scores 5.75:1 against #536f17, versus 3.65:1 for black — AA at any size.
What is the complementary color of #536f17?
#33176F sits directly opposite on the wheel. Softer options are the split-complements #17276F and #5F176F, which give the same contrast with far less vibration.
What colors go well with #536f17?
For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #819B4B for secondary text, #1B1472 as an accent and #4F6A16 for hover and pressed states. For a palette, the analogous pair #6F5F17 and #276F17 stays calm, while #33176F is the loudest partner.
What is #536f17 in CMYK for printing?
cmyk(25%, 0%, 79%, 57%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #536f17 warm or cool?
Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6F6B17; nudged cooler, #327016.