#2F3608#2F3608

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

Color values

HEX#2F3608
RGBrgb(47, 54, 8)
HSLhsl(69, 74%, 12%)
HSVhsv(69, 85%, 21%)
CMYKcmyk(13%, 0%, 85.2%, 78.8%)
CIE-LABlab(21.06, -10.34, 25.93)
CIE-LCHlch(21.06, 27.91, 111.73°)
OKLaboklab(31.59% -0.0309 0.0582)
OKLCHoklch(31.59% 0.066 117.9)
XYZxyz(2.5353, 3.2602, 0.7254)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3608 #0F0836
analogous
#362608 #2F3608 #183608
triadic
#2F3608 #082F36 #36082F
tetradic
#2F3608 #083626 #0F0836 #360818
square
#2F3608 #083626 #0F0836 #360818
split-complementary
#2F3608 #081836 #260836
monochromatic
#171B04 #171B04 #2F3608 #5D6B10 #8CA118

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3608#FFFFFF#000000##FFFFFF
##2F36081.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)
#3A3302
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#32322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3608;
/* rgb */ color: rgb(47, 54, 8);
/* oklch */ color: oklch(31.6% 0.066 117.9);
Tailwind
colors: {
  custom: {
    50: '#696c4b',
    500: '#2f3608',
    950: '#000000',
  },
}
SCSS
$custom: #2f3608;
$custom-light: #696c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3608",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 69.13,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.06593,
    "h": 117.9
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#2F3608
secondary
#312575
accent
#37F153
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3608

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

Preview Lab → · Contrast checker → · Palette generator →

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