#2F3602#2F3602

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

Color values

HEX#2F3602
RGBrgb(47, 54, 2)
HSLhsl(68, 93%, 11%)
HSVhsv(68, 96%, 21%)
CMYKcmyk(13%, 0%, 96.3%, 78.8%)
CIE-LABlab(21.01, -10.77, 28.32)
CIE-LCHlch(21.01, 30.30, 110.82°)
OKLaboklab(31.54% -0.0329 0.0631)
OKLCHoklch(31.54% 0.071 117.6)
XYZxyz(2.5025, 3.2471, 0.5523)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3602 #090236
analogous
#362302 #2F3602 #153602
triadic
#2F3602 #022F36 #36022F
tetradic
#2F3602 #023623 #090236 #360215
square
#2F3602 #023623 #090236 #360215
split-complementary
#2F3602 #021536 #230236
monochromatic
#1A1E01 #1A1E01 #2F3602 #627104 #96AC06

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3602#FFFFFF#000000##FFFFFF
##2F36021.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)
#3B3200
Deuteranopia (green-blind)
#3A3306
Tritanopia (blue-blind)
#33322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3602;
/* rgb */ color: rgb(47, 54, 2);
/* oklch */ color: oklch(31.5% 0.071 117.6);
Tailwind
colors: {
  custom: {
    50: '#696c48',
    500: '#2f3602',
    950: '#000000',
  },
}
SCSS
$custom: #2f3602;
$custom-light: #696c48;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3602",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 2
  },
  "hsl": {
    "h": 68.077,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.31536,
    "c": 0.07115,
    "h": 117.6
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#2F3602
secondary
#271A7A
accent
#29FF46
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3602

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

Preview Lab → · Contrast checker → · Palette generator →

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