#2E2D02#2E2D02

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

Color values

HEX#2E2D02
RGBrgb(46, 45, 2)
HSLhsl(59, 92%, 9%)
HSVhsv(59, 96%, 18%)
CMYKcmyk(0%, 2.2%, 95.7%, 82%)
CIE-LABlab(17.75, -5.69, 24.54)
CIE-LCHlch(17.75, 25.19, 103.05°)
OKLaboklab(28.9% -0.0189 0.0572)
OKLCHoklch(28.9% 0.06 108.3)
XYZxyz(2.0761, 2.4621, 0.4233)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D02 #02032E
analogous
#2E1702 #2E2D02 #192E02
triadic
#2E2D02 #022E2D #2D022E
tetradic
#2E2D02 #022E17 #02032E #2E0219
square
#2E2D02 #022E17 #02032E #2E0219
split-complementary
#2E2D02 #02192E #17022E
monochromatic
#1D1D01 #1D1D01 #2E2D02 #696605 #A3A007

Accessibility & contrast

On white

14.07
#2E2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E2D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D02
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D02#FFFFFF#000000##FFFFFF
##2E2D021.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#322C05
Tritanopia (blue-blind)
#322925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2d02;
/* rgb */ color: rgb(46, 45, 2);
/* oklch */ color: oklch(28.9% 0.060 108.3);
Tailwind
colors: {
  custom: {
    50: '#686548',
    500: '#2e2d02',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d02;
$custom-light: #686548;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d02",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 58.636,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28897,
    "c": 0.06024,
    "h": 108.3
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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