#2E2E02#2E2E02

#2E2E02 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.061 H 109.7°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2E02
RGBrgb(46, 46, 2)
HSLhsl(60, 92%, 9%)
HSVhsv(60, 96%, 18%)
CMYKcmyk(0%, 0%, 95.7%, 82%)
CIE-LABlab(18.10, -6.33, 24.96)
CIE-LCHlch(18.10, 25.75, 104.24°)
OKLaboklab(29.18% -0.0207 0.0578)
OKLCHoklch(29.18% 0.061 109.7)
XYZxyz(2.1148, 2.5393, 0.4362)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E02 #02022E
analogous
#2E1802 #2E2E02 #182E02
triadic
#2E2E02 #022E2E #2E022E
tetradic
#2E2E02 #022E18 #02022E #2E0218
square
#2E2E02 #022E18 #02022E #2E0218
split-complementary
#2E2E02 #02182E #18022E
monochromatic
#1D1D01 #1D1D01 #2E2E02 #696905 #A3A307

Accessibility & contrast

On white

13.93
#2E2E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E02
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E02#FFFFFF#000000##FFFFFF
##2E2E021.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2e02;
/* rgb */ color: rgb(46, 46, 2);
/* oklch */ color: oklch(29.2% 0.061 109.7);
Tailwind
colors: {
  custom: {
    50: '#686648',
    500: '#2e2e02',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e02;
$custom-light: #686648;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e02",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.29176,
    "c": 0.06141,
    "h": 109.7
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#2E2E02
secondary
#191973
accent
#29FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2E2E02

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

Preview Lab → · Contrast checker → · Palette generator →

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