#2F3603#2F3603

#2F3603 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.070 H 117.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2F3603
RGBrgb(47, 54, 3)
HSLhsl(68, 89%, 11%)
HSVhsv(68, 94%, 21%)
CMYKcmyk(13%, 0%, 94.4%, 78.8%)
CIE-LABlab(21.02, -10.70, 27.92)
CIE-LCHlch(21.02, 29.90, 110.96°)
OKLaboklab(31.55% -0.0326 0.0623)
OKLCHoklch(31.55% 0.07 117.6)
XYZxyz(2.5080, 3.2493, 0.5812)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3603 #0A0336
analogous
#362303 #2F3603 #153603
triadic
#2F3603 #032F36 #36032F
tetradic
#2F3603 #033623 #0A0336 #360315
square
#2F3603 #033623 #0A0336 #360315
split-complementary
#2F3603 #031536 #230336
monochromatic
#191D02 #191D02 #2F3603 #617006 #94AA09

Accessibility & contrast

On white

12.73
#2F3603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3603
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3603#FFFFFF#000000##FFFFFF
##2F36031.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#3A3307
Tritanopia (blue-blind)
#33322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3603;
/* rgb */ color: rgb(47, 54, 3);
/* oklch */ color: oklch(31.5% 0.070 117.6);
Tailwind
colors: {
  custom: {
    50: '#696c49',
    500: '#2f3603',
    950: '#000000',
  },
}
SCSS
$custom: #2f3603;
$custom-light: #696c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3603",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 3
  },
  "hsl": {
    "h": 68.235,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.31546,
    "c": 0.07026,
    "h": 117.6
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#2F3603
secondary
#291C79
accent
#29FF46
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3603

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

Preview Lab → · Contrast checker → · Palette generator →

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