#2E3102#2E3102

#2E3102 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.065 H 113.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#2E3102
RGBrgb(46, 49, 2)
HSLhsl(64, 92%, 10%)
HSVhsv(64, 96%, 19%)
CMYKcmyk(6.1%, 0%, 95.9%, 80.8%)
CIE-LABlab(19.15, -8.23, 26.20)
CIE-LCHlch(19.15, 27.46, 107.44°)
OKLaboklab(30.02% -0.0259 0.0597)
OKLCHoklch(30.02% 0.065 113.5)
XYZxyz(2.2361, 2.7819, 0.4766)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3102 #050231
analogous
#311D02 #2E3102 #163102
triadic
#2E3102 #022E31 #31022E
tetradic
#2E3102 #02311D #050231 #310216
square
#2E3102 #02311D #050231 #310216
split-complementary
#2E3102 #021631 #1D0231
monochromatic
#1C1D01 #1C1D01 #2E3102 #656C04 #9CA707

Accessibility & contrast

On white

13.49
#2E3102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E3102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3102
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3102#FFFFFF#000000##FFFFFF
##2E31021.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#362F05
Tritanopia (blue-blind)
#322D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e3102;
/* rgb */ color: rgb(46, 49, 2);
/* oklch */ color: oklch(30.0% 0.065 113.5);
Tailwind
colors: {
  custom: {
    50: '#686848',
    500: '#2e3102',
    950: '#000000',
  },
}
SCSS
$custom: #2e3102;
$custom-light: #686848;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3102",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 63.83,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.06511,
    "h": 113.5
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#2E3102
secondary
#1F1975
accent
#29FF36
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2E3102

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

Preview Lab → · Contrast checker → · Palette generator →

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