#2E2B02#2E2B02

#2E2B02 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.058 H 105.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2B02
RGBrgb(46, 43, 2)
HSLhsl(56, 92%, 9%)
HSVhsv(56, 96%, 18%)
CMYKcmyk(0%, 6.5%, 95.7%, 82%)
CIE-LABlab(17.05, -4.39, 23.70)
CIE-LCHlch(17.05, 24.10, 100.49°)
OKLaboklab(28.34% -0.0153 0.056)
OKLCHoklch(28.34% 0.058 105.3)
XYZxyz(2.0016, 2.3131, 0.3985)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B02 #02052E
analogous
#2E1502 #2E2B02 #1B2E02
triadic
#2E2B02 #022E2B #2B022E
tetradic
#2E2B02 #022E15 #02052E #2E021B
square
#2E2B02 #022E15 #02052E #2E021B
split-complementary
#2E2B02 #021B2E #15022E
monochromatic
#1D1B01 #1D1B01 #2E2B02 #696205 #A39907

Accessibility & contrast

On white

14.36
#2E2B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E2B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B02
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B02#FFFFFF#000000##FFFFFF
##2E2B021.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#322723
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2b02;
/* rgb */ color: rgb(46, 43, 2);
/* oklch */ color: oklch(28.3% 0.058 105.3);
Tailwind
colors: {
  custom: {
    50: '#686448',
    500: '#2e2b02',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b02;
$custom-light: #686448;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b02",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 55.909,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28343,
    "c": 0.058,
    "h": 105.3
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#2E2B02
secondary
#191F73
accent
#37FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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