#2F3204#2F3204

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

Color values

HEX#2F3204
RGBrgb(47, 50, 4)
HSLhsl(64, 85%, 11%)
HSVhsv(64, 92%, 20%)
CMYKcmyk(6%, 0%, 92%, 80.4%)
CIE-LABlab(19.62, -8.17, 25.95)
CIE-LCHlch(19.62, 27.20, 107.47°)
OKLaboklab(30.42% -0.0255 0.0588)
OKLCHoklch(30.42% 0.064 113.4)
XYZxyz(2.3349, 2.8944, 0.5505)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3204 #070432
analogous
#321E04 #2F3204 #183204
triadic
#2F3204 #042F32 #32042F
tetradic
#2F3204 #04321E #070432 #320418
square
#2F3204 #04321E #070432 #320418
split-complementary
#2F3204 #041832 #1E0432
monochromatic
#1B1C02 #1B1C02 #2F3204 #646B09 #9AA30D

Accessibility & contrast

On white

13.30
#2F3204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3204
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3204#FFFFFF#000000##FFFFFF
##2F32041.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3204;
/* rgb */ color: rgb(47, 50, 4);
/* oklch */ color: oklch(30.4% 0.064 113.4);
Tailwind
colors: {
  custom: {
    50: '#696949',
    500: '#2f3204',
    950: '#000000',
  },
}
SCSS
$custom: #2f3204;
$custom-light: #696949;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3204",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 63.913,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30424,
    "c": 0.06407,
    "h": 113.4
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#2F3204
secondary
#231D74
accent
#2CFB3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3204

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

Preview Lab → · Contrast checker → · Palette generator →

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