#2F3202#2F3202

#2F3202 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.066 H 113.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2F3202
RGBrgb(47, 50, 2)
HSLhsl(64, 92%, 10%)
HSVhsv(64, 96%, 20%)
CMYKcmyk(6%, 0%, 96%, 80.4%)
CIE-LABlab(19.60, -8.32, 26.74)
CIE-LCHlch(19.60, 28.00, 107.28°)
OKLaboklab(30.4% -0.0262 0.0606)
OKLCHoklch(30.4% 0.066 113.4)
XYZxyz(2.3239, 2.8900, 0.4928)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3202 #050232
analogous
#321D02 #2F3202 #173202
triadic
#2F3202 #022F32 #32022F
tetradic
#2F3202 #02321D #050232 #320217
square
#2F3202 #02321D #050232 #320217
split-complementary
#2F3202 #021732 #1D0232
monochromatic
#1C1D01 #1C1D01 #2F3202 #666D04 #9EA807

Accessibility & contrast

On white

13.31
#2F3202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F3202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3202
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3202#FFFFFF#000000##FFFFFF
##2F32021.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373005
Tritanopia (blue-blind)
#332E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3202;
/* rgb */ color: rgb(47, 50, 2);
/* oklch */ color: oklch(30.4% 0.066 113.4);
Tailwind
colors: {
  custom: {
    50: '#696948',
    500: '#2f3202',
    950: '#000000',
  },
}
SCSS
$custom: #2f3202;
$custom-light: #696948;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3202",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 63.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30404,
    "c": 0.06598,
    "h": 113.4
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#2F3202
secondary
#1F1976
accent
#29FF36
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2F3202

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

Preview Lab → · Contrast checker → · Palette generator →

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