#2F3609#2F3609

#2F3609 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.6% C 0.065 H 118.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2F3609
RGBrgb(47, 54, 9)
HSLhsl(69, 71%, 12%)
HSVhsv(69, 83%, 21%)
CMYKcmyk(13%, 0%, 83.3%, 78.8%)
CIE-LABlab(21.07, -10.26, 25.53)
CIE-LCHlch(21.07, 27.52, 111.90°)
OKLaboklab(31.6% -0.0306 0.0575)
OKLCHoklch(31.6% 0.065 118)
XYZxyz(2.5408, 3.2624, 0.7543)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3609 #100936
analogous
#362609 #2F3609 #193609
triadic
#2F3609 #092F36 #36092F
tetradic
#2F3609 #093626 #100936 #360919
square
#2F3609 #093626 #100936 #360919
split-complementary
#2F3609 #091936 #260936
monochromatic
#171A04 #171A04 #2F3609 #5D6A12 #8A9F1A

Accessibility & contrast

On white

12.71
#2F3609 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F3609 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3609
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3609#FFFFFF#000000##FFFFFF
##2F36091.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3303
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#32332D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3609;
/* rgb */ color: rgb(47, 54, 9);
/* oklch */ color: oklch(31.6% 0.065 118.0);
Tailwind
colors: {
  custom: {
    50: '#696c4c',
    500: '#2f3609',
    950: '#000000',
  },
}
SCSS
$custom: #2f3609;
$custom-light: #696c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3609",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 9
  },
  "hsl": {
    "h": 69.333,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31602,
    "c": 0.06509,
    "h": 118
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#2F3609
secondary
#332774
accent
#3AEE56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3609

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

Preview Lab → · Contrast checker → · Palette generator →

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