#2F2E02#2F2E02

#2F2E02 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.061 H 108.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2F2E02
RGBrgb(47, 46, 2)
HSLhsl(59, 92%, 10%)
HSVhsv(59, 96%, 18%)
CMYKcmyk(0%, 2.1%, 95.7%, 81.6%)
CIE-LABlab(18.20, -5.78, 25.11)
CIE-LCHlch(18.20, 25.77, 102.97°)
OKLaboklab(29.29% -0.0192 0.0581)
OKLCHoklch(29.29% 0.061 108.3)
XYZxyz(2.1603, 2.5628, 0.4383)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E02 #02032F
analogous
#2F1802 #2F2E02 #1A2F02
triadic
#2F2E02 #022F2E #2E022F
tetradic
#2F2E02 #022F18 #02032F #2F021A
square
#2F2E02 #022F18 #02032F #2F021A
split-complementary
#2F2E02 #021A2F #18022F
monochromatic
#1D1D01 #1D1D01 #2F2E02 #6A6704 #A4A107

Accessibility & contrast

On white

13.88
#2F2E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2F2E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E02
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E02#FFFFFF#000000##FFFFFF
##2F2E021.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#342D05
Tritanopia (blue-blind)
#332A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2e02;
/* rgb */ color: rgb(47, 46, 2);
/* oklch */ color: oklch(29.3% 0.061 108.3);
Tailwind
colors: {
  custom: {
    50: '#696648',
    500: '#2f2e02',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e02;
$custom-light: #696648;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e02",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 58.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29285,
    "c": 0.06114,
    "h": 108.3
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#2F2E02
secondary
#191B74
accent
#2EFF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2F2E02

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

Preview Lab → · Contrast checker → · Palette generator →

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