#2F2D02#2F2D02

#2F2D02 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.060 H 106.9°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#2F2D02
RGBrgb(47, 45, 2)
HSLhsl(57, 92%, 10%)
HSVhsv(57, 96%, 18%)
CMYKcmyk(0%, 4.3%, 95.7%, 81.6%)
CIE-LABlab(17.85, -5.14, 24.70)
CIE-LCHlch(17.85, 25.23, 101.75°)
OKLaboklab(29.01% -0.0174 0.0574)
OKLCHoklch(29.01% 0.06 106.9)
XYZxyz(2.1217, 2.4856, 0.4254)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D02 #02042F
analogous
#2F1702 #2F2D02 #1B2F02
triadic
#2F2D02 #022F2D #2D022F
tetradic
#2F2D02 #022F17 #02042F #2F021B
square
#2F2D02 #022F17 #02042F #2F021B
split-complementary
#2F2D02 #021B2F #17022F
monochromatic
#1D1C01 #1D1C01 #2F2D02 #6A6504 #A49D07

Accessibility & contrast

On white

14.03
#2F2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D02
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D02#FFFFFF#000000##FFFFFF
##2F2D021.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#332C05
Tritanopia (blue-blind)
#332925
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d02;
/* rgb */ color: rgb(47, 45, 2);
/* oklch */ color: oklch(29.0% 0.060 106.9);
Tailwind
colors: {
  custom: {
    50: '#696548',
    500: '#2f2d02',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d02;
$custom-light: #696548;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d02",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 57.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29008,
    "c": 0.06001,
    "h": 106.9
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#2F2D02
secondary
#191D74
accent
#32FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2F2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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