#2F3403#2F3403

#2F3403 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.068 H 115.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2F3403
RGBrgb(47, 52, 3)
HSLhsl(66, 89%, 11%)
HSVhsv(66, 94%, 20%)
CMYKcmyk(9.6%, 0%, 94.2%, 79.6%)
CIE-LABlab(20.31, -9.48, 27.14)
CIE-LCHlch(20.31, 28.75, 109.25°)
OKLaboklab(30.98% -0.0292 0.061)
OKLCHoklch(30.98% 0.068 115.6)
XYZxyz(2.4168, 3.0669, 0.5508)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3403 #080334
analogous
#342003 #2F3403 #163403
triadic
#2F3403 #032F34 #34032F
tetradic
#2F3403 #033420 #080334 #340316
square
#2F3403 #033420 #080334 #340316
split-complementary
#2F3403 #031634 #200334
monochromatic
#1A1D02 #1A1D02 #2F3403 #636E06 #98A80A

Accessibility & contrast

On white

13.02
#2F3403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F3403 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3403
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3403#FFFFFF#000000##FFFFFF
##2F34031.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#383107
Tritanopia (blue-blind)
#33302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3403;
/* rgb */ color: rgb(47, 52, 3);
/* oklch */ color: oklch(31.0% 0.068 115.6);
Tailwind
colors: {
  custom: {
    50: '#696b49',
    500: '#2f3403',
    950: '#000000',
  },
}
SCSS
$custom: #2f3403;
$custom-light: #696b49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3403",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 3
  },
  "hsl": {
    "h": 66.122,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30978,
    "c": 0.06761,
    "h": 115.6
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#2F3403
secondary
#251C77
accent
#29FF3F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3403

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

Preview Lab → · Contrast checker → · Palette generator →

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