#3F4908#3F4908

#3F4908 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.3% C 0.085 H 118.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3F4908
RGBrgb(63, 73, 8)
HSLhsl(69, 80%, 16%)
HSVhsv(69, 89%, 29%)
CMYKcmyk(13.7%, 0%, 89%, 71.4%)
CIE-LABlab(29.00, -13.42, 34.08)
CIE-LCHlch(29.00, 36.63, 111.49°)
OKLaboklab(38.34% -0.0404 0.0742)
OKLCHoklch(38.34% 0.085 118.6)
XYZxyz(4.4764, 5.8394, 1.1210)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4908 #120849
analogous
#493208 #3F4908 #1E4908
triadic
#3F4908 #083F49 #49083F
tetradic
#3F4908 #084932 #120849 #49081E
square
#3F4908 #084932 #120849 #49081E
split-complementary
#3F4908 #081E49 #320849
monochromatic
#181C03 #181C03 #3F4908 #6F800E #9EB714

Accessibility & contrast

On white

9.69
#3F4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F4908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4908
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4908#FFFFFF#000000##FFFFFF
##3F49081.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4400
Deuteranopia (green-blind)
#4D450F
Tritanopia (blue-blind)
#43443D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f4908;
/* rgb */ color: rgb(63, 73, 8);
/* oklch */ color: oklch(38.3% 0.085 118.6);
Tailwind
colors: {
  custom: {
    50: '#777b4f',
    500: '#3f4908',
    950: '#000000',
  },
}
SCSS
$custom: #3f4908;
$custom-light: #777b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4908",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 69.231,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38339,
    "c": 0.0845,
    "h": 118.6
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#3F4908
secondary
#352687
accent
#31F750
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F4908

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

Preview Lab → · Contrast checker → · Palette generator →

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