#2E3507#2E3507

#2E3507 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.066 H 118.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2E3507
RGBrgb(46, 53, 7)
HSLhsl(69, 77%, 12%)
HSVhsv(69, 87%, 21%)
CMYKcmyk(13.2%, 0%, 86.8%, 79.2%)
CIE-LABlab(20.61, -10.32, 25.81)
CIE-LCHlch(20.61, 27.80, 111.79°)
OKLaboklab(31.2% -0.0309 0.0581)
OKLCHoklch(31.2% 0.066 118)
XYZxyz(2.4382, 3.1424, 0.6791)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3507 #0E0735
analogous
#352507 #2E3507 #173507
triadic
#2E3507 #072E35 #35072E
tetradic
#2E3507 #073525 #0E0735 #350717
square
#2E3507 #073525 #0E0735 #350717
split-complementary
#2E3507 #071735 #250735
monochromatic
#171B04 #171B04 #2E3507 #5D6B0E #8CA115

Accessibility & contrast

On white

12.90
#2E3507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E3507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3507
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3507#FFFFFF#000000##FFFFFF
##2E35071.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393201
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#31322C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3507;
/* rgb */ color: rgb(46, 53, 7);
/* oklch */ color: oklch(31.2% 0.066 118.0);
Tailwind
colors: {
  custom: {
    50: '#686c4b',
    500: '#2e3507',
    950: '#000000',
  },
}
SCSS
$custom: #2e3507;
$custom-light: #686c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3507",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 7
  },
  "hsl": {
    "h": 69.13,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31204,
    "c": 0.06582,
    "h": 118
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#2E3507
secondary
#302375
accent
#35F352
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3507

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

Preview Lab → · Contrast checker → · Palette generator →

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