#2F3704#2F3704

#2F3704 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.8% C 0.071 H 118.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2F3704
RGBrgb(47, 55, 4)
HSLhsl(69, 86%, 12%)
HSVhsv(69, 93%, 22%)
CMYKcmyk(14.5%, 0%, 92.7%, 78.4%)
CIE-LABlab(21.38, -11.22, 27.91)
CIE-LCHlch(21.38, 30.08, 111.91°)
OKLaboklab(31.84% -0.0339 0.0621)
OKLCHoklch(31.84% 0.071 118.6)
XYZxyz(2.5605, 3.3455, 0.6257)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3704 #0C0437
analogous
#372604 #2F3704 #163704
triadic
#2F3704 #042F37 #37042F
tetradic
#2F3704 #043726 #0C0437 #370416
square
#2F3704 #043726 #0C0437 #370416
split-complementary
#2F3704 #041637 #260437
monochromatic
#181D02 #181D02 #2F3704 #607008 #91A90C

Accessibility & contrast

On white

12.58
#2F3704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F3704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3704
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3704#FFFFFF#000000##FFFFFF
##2F37041.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3B3308
Tritanopia (blue-blind)
#33332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3704;
/* rgb */ color: rgb(47, 55, 4);
/* oklch */ color: oklch(31.8% 0.071 118.6);
Tailwind
colors: {
  custom: {
    50: '#696d4a',
    500: '#2f3704',
    950: '#000000',
  },
}
SCSS
$custom: #2f3704;
$custom-light: #696d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3704",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 69.412,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.3184,
    "c": 0.07074,
    "h": 118.6
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#2F3704
secondary
#2C1E79
accent
#2BFD4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3704

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

Preview Lab → · Contrast checker → · Palette generator →

#2F3704 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva