#39540F#39540F

#39540F is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.0% C 0.099 H 129.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#39540F
RGBrgb(57, 84, 15)
HSLhsl(83, 70%, 19%)
HSVhsv(83, 82%, 33%)
CMYKcmyk(32.1%, 0%, 82.1%, 67.1%)
CIE-LABlab(32.36, -21.80, 34.49)
CIE-LCHlch(32.36, 40.80, 122.29°)
OKLaboklab(40.95% -0.0623 0.0766)
OKLCHoklch(40.95% 0.099 129.1)
XYZxyz(4.9439, 7.2449, 1.5898)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39540F #2A0F54
analogous
#544D0F #39540F #17540F
triadic
#39540F #0F3954 #540F39
tetradic
#39540F #0F544D #2A0F54 #540F17
square
#39540F #0F544D #2A0F54 #540F17
split-complementary
#39540F #0F1754 #4D0F54
monochromatic
#121A05 #162006 #39540F #5C8818 #7FBC22

Accessibility & contrast

On white

8.57
#39540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#39540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39540F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39540F#FFFFFF#000000##FFFFFF
##39540F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#554B16
Tritanopia (blue-blind)
#3B5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #39540f;
/* rgb */ color: rgb(57, 84, 15);
/* oklch */ color: oklch(41.0% 0.099 129.1);
Tailwind
colors: {
  custom: {
    50: '#728453',
    500: '#39540f',
    950: '#000000',
  },
}
SCSS
$custom: #39540f;
$custom-light: #728453;
$custom-dark: #000000;
JSON
{
  "hex": "#39540f",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 83.478,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.09875,
    "h": 129.1
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#39540F
secondary
#55318E
accent
#3BED81
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #39540F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#39540F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva