#2E3002#2E3002

#2E3002 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.064 H 112.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#2E3002
RGBrgb(46, 48, 2)
HSLhsl(63, 92%, 10%)
HSVhsv(63, 96%, 19%)
CMYKcmyk(4.2%, 0%, 95.8%, 81.2%)
CIE-LABlab(18.80, -7.61, 25.79)
CIE-LCHlch(18.80, 26.89, 106.43°)
OKLaboklab(29.74% -0.0242 0.0591)
OKLCHoklch(29.74% 0.064 112.3)
XYZxyz(2.1947, 2.6992, 0.4628)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3002 #040230
analogous
#301B02 #2E3002 #173002
triadic
#2E3002 #022E30 #30022E
tetradic
#2E3002 #02301B #040230 #300217
square
#2E3002 #02301B #040230 #300217
split-complementary
#2E3002 #021730 #1B0230
monochromatic
#1C1D01 #1C1D01 #2E3002 #666B04 #9FA607

Accessibility & contrast

On white

13.64
#2E3002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3002
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3002#FFFFFF#000000##FFFFFF
##2E30021.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3002;
/* rgb */ color: rgb(46, 48, 2);
/* oklch */ color: oklch(29.7% 0.064 112.3);
Tailwind
colors: {
  custom: {
    50: '#686848',
    500: '#2e3002',
    950: '#000000',
  },
}
SCSS
$custom: #2e3002;
$custom-light: #686848;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3002",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 62.609,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29737,
    "c": 0.06385,
    "h": 112.3
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#2E3002
secondary
#1D1975
accent
#29FF32
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2E3002

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

Preview Lab → · Contrast checker → · Palette generator →

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