#2E3005#2E3005

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

Color values

HEX#2E3005
RGBrgb(46, 48, 5)
HSLhsl(63, 81%, 10%)
HSVhsv(63, 90%, 19%)
CMYKcmyk(4.2%, 0%, 89.6%, 81.2%)
CIE-LABlab(18.82, -7.37, 24.60)
CIE-LCHlch(18.82, 25.68, 106.69°)
OKLaboklab(29.77% -0.023 0.0563)
OKLCHoklch(29.77% 0.061 112.2)
XYZxyz(2.2111, 2.7058, 0.5493)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3005 #070530
analogous
#301C05 #2E3005 #183005
triadic
#2E3005 #052E30 #30052E
tetradic
#2E3005 #05301C #070530 #300518
square
#2E3005 #05301C #070530 #300518
split-complementary
#2E3005 #051830 #1C0530
monochromatic
#1B1C03 #1B1C03 #2E3005 #63670B #989F11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3005#FFFFFF#000000##FFFFFF
##2E30051.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)
#342D00
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#322C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e3005;
/* rgb */ color: rgb(46, 48, 5);
/* oklch */ color: oklch(29.8% 0.061 112.2);
Tailwind
colors: {
  custom: {
    50: '#686849',
    500: '#2e3005',
    950: '#000000',
  },
}
SCSS
$custom: #2e3005;
$custom-light: #686849;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3005",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 5
  },
  "hsl": {
    "h": 62.791,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29769,
    "c": 0.06087,
    "h": 112.2
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#2E3005
secondary
#231F72
accent
#30F83A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3005

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

Preview Lab → · Contrast checker → · Palette generator →

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