#3F510C#3F510C

#3F510C is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.093 H 123.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F510C
RGBrgb(63, 81, 12)
HSLhsl(76, 74%, 18%)
HSVhsv(76, 85%, 32%)
CMYKcmyk(22.2%, 0%, 85.2%, 68.2%)
CIE-LABlab(31.73, -17.67, 35.16)
CIE-LCHlch(31.73, 39.35, 116.69°)
OKLaboklab(40.55% -0.0517 0.0773)
OKLCHoklch(40.55% 0.093 123.8)
XYZxyz(5.0588, 6.9681, 1.4262)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F510C #1E0C51
analogous
#51400C #3F510C #1C510C
triadic
#3F510C #0C3F51 #510C3F
tetradic
#3F510C #0C5140 #1E0C51 #510C1C
square
#3F510C #0C5140 #1E0C51 #510C1C
split-complementary
#3F510C #0C1C51 #400C51
monochromatic
#151B04 #161C04 #3F510C #688614 #92BC1C

Accessibility & contrast

On white

8.77
#3F510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F510C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F510C#FFFFFF#000000##FFFFFF
##3F510C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#434C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f510c;
/* rgb */ color: rgb(63, 81, 12);
/* oklch */ color: oklch(40.6% 0.093 123.8);
Tailwind
colors: {
  custom: {
    50: '#778152',
    500: '#3f510c',
    950: '#000000',
  },
}
SCSS
$custom: #3f510c;
$custom-light: #778152;
$custom-dark: #000000;
JSON
{
  "hex": "#3f510c",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 75.652,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.09299,
    "h": 123.8
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#3F510C
secondary
#452C8C
accent
#37F167
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3F510C

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

Preview Lab → · Contrast checker → · Palette generator →

#3F510C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva