#2E3207#2E3207

#2E3207 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.062 H 114.8°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#2E3207
RGBrgb(46, 50, 7)
HSLhsl(66, 75%, 11%)
HSVhsv(66, 86%, 20%)
CMYKcmyk(8%, 0%, 86%, 80.4%)
CIE-LABlab(19.55, -8.47, 24.62)
CIE-LCHlch(19.55, 26.04, 109.00°)
OKLaboklab(30.35% -0.0258 0.056)
OKLCHoklch(30.35% 0.062 114.8)
XYZxyz(2.3057, 2.8774, 0.6349)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3207 #0B0732
analogous
#322007 #2E3207 #183207
triadic
#2E3207 #072E32 #32072E
tetradic
#2E3207 #073220 #0B0732 #320718
square
#2E3207 #073220 #0B0732 #320718
split-complementary
#2E3207 #071832 #200732
monochromatic
#191B04 #191B04 #2E3207 #5F680F #919D16

Accessibility & contrast

On white

13.33
#2E3207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E3207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3207
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3207#FFFFFF#000000##FFFFFF
##2E32071.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F02
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#322E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e3207;
/* rgb */ color: rgb(46, 50, 7);
/* oklch */ color: oklch(30.4% 0.062 114.8);
Tailwind
colors: {
  custom: {
    50: '#68694a',
    500: '#2e3207',
    950: '#000000',
  },
}
SCSS
$custom: #2e3207;
$custom-light: #68694a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3207",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 7
  },
  "hsl": {
    "h": 65.581,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30353,
    "c": 0.06164,
    "h": 114.8
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#2E3207
secondary
#2A2372
accent
#36F247
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3207

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

Preview Lab → · Contrast checker → · Palette generator →

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