#2E3008#2E3008

#2E3008 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.058 H 112.2°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#2E3008
RGBrgb(46, 48, 8)
HSLhsl(63, 71%, 11%)
HSVhsv(63, 83%, 19%)
CMYKcmyk(4.2%, 0%, 83.3%, 81.2%)
CIE-LABlab(18.85, -7.14, 23.41)
CIE-LCHlch(18.85, 24.47, 106.96°)
OKLaboklab(29.8% -0.022 0.0537)
OKLCHoklch(29.8% 0.058 112.2)
XYZxyz(2.2276, 2.7123, 0.6359)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3008 #0A0830
analogous
#301E08 #2E3008 #1A3008
triadic
#2E3008 #082E30 #30082E
tetradic
#2E3008 #08301E #0A0830 #30081A
square
#2E3008 #08301E #0A0830 #30081A
split-complementary
#2E3008 #081A30 #1E0830
monochromatic
#191A04 #191A04 #2E3008 #606411 #939919

Accessibility & contrast

On white

13.62
#2E3008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E3008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3008
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3008#FFFFFF#000000##FFFFFF
##2E30081.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D03
Deuteranopia (green-blind)
#342E0B
Tritanopia (blue-blind)
#322D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e3008;
/* rgb */ color: rgb(46, 48, 8);
/* oklch */ color: oklch(29.8% 0.058 112.2);
Tailwind
colors: {
  custom: {
    50: '#68684b',
    500: '#2e3008',
    950: '#000000',
  },
}
SCSS
$custom: #2e3008;
$custom-light: #68684b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3008",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 8
  },
  "hsl": {
    "h": 63,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.298,
    "c": 0.058,
    "h": 112.2
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#2E3008
secondary
#29256F
accent
#3AEE43
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3008

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

Preview Lab → · Contrast checker → · Palette generator →

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