#2E3004#2E3004

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

Color values

HEX#2E3004
RGBrgb(46, 48, 4)
HSLhsl(63, 85%, 10%)
HSVhsv(63, 92%, 19%)
CMYKcmyk(4.2%, 0%, 91.7%, 81.2%)
CIE-LABlab(18.82, -7.45, 25.00)
CIE-LCHlch(18.82, 26.08, 106.60°)
OKLaboklab(29.76% -0.0234 0.0573)
OKLCHoklch(29.76% 0.062 112.2)
XYZxyz(2.2057, 2.7036, 0.5205)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3004 #060430
analogous
#301C04 #2E3004 #183004
triadic
#2E3004 #042E30 #30042E
tetradic
#2E3004 #04301C #060430 #300418
square
#2E3004 #04301C #060430 #300418
split-complementary
#2E3004 #041830 #1C0430
monochromatic
#1B1C02 #1B1C02 #2E3004 #646809 #9AA10D

Accessibility & contrast

On white

13.63
#2E3004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3004
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3004#FFFFFF#000000##FFFFFF
##2E30041.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#352E07
Tritanopia (blue-blind)
#322C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e3004;
/* rgb */ color: rgb(46, 48, 4);
/* oklch */ color: oklch(29.8% 0.062 112.2);
Tailwind
colors: {
  custom: {
    50: '#686849',
    500: '#2e3004',
    950: '#000000',
  },
}
SCSS
$custom: #2e3004;
$custom-light: #686849;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3004",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 4
  },
  "hsl": {
    "h": 62.727,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29758,
    "c": 0.06186,
    "h": 112.2
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#2E3004
secondary
#211D72
accent
#2DFB36
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3004

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

Preview Lab → · Contrast checker → · Palette generator →

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