#2E3103#2E3103

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

Color values

HEX#2E3103
RGBrgb(46, 49, 3)
HSLhsl(64, 88%, 10%)
HSVhsv(64, 94%, 19%)
CMYKcmyk(6.1%, 0%, 93.9%, 80.8%)
CIE-LABlab(19.16, -8.16, 25.80)
CIE-LCHlch(19.16, 27.06, 107.54°)
OKLaboklab(30.03% -0.0255 0.0588)
OKLCHoklch(30.03% 0.064 113.5)
XYZxyz(2.2415, 2.7841, 0.5054)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3103 #060331
analogous
#311D03 #2E3103 #173103
triadic
#2E3103 #032E31 #31032E
tetradic
#2E3103 #03311D #060331 #310317
square
#2E3103 #03311D #060331 #310317
split-complementary
#2E3103 #031731 #1D0331
monochromatic
#1B1D02 #1B1D02 #2E3103 #646B07 #9AA40A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3103#FFFFFF#000000##FFFFFF
##2E31031.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)
#362F06
Tritanopia (blue-blind)
#322D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e3103;
/* rgb */ color: rgb(46, 49, 3);
/* oklch */ color: oklch(30.0% 0.064 113.5);
Tailwind
colors: {
  custom: {
    50: '#686848',
    500: '#2e3103',
    950: '#000000',
  },
}
SCSS
$custom: #2e3103;
$custom-light: #686848;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3103",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 63.913,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30029,
    "c": 0.06411,
    "h": 113.5
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#2E3103
secondary
#211B74
accent
#29FF37
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3103

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

Preview Lab → · Contrast checker → · Palette generator →

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