#2D3507#2D3507

#2D3507 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.066 H 119.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2D3507
RGBrgb(45, 53, 7)
HSLhsl(70, 77%, 12%)
HSVhsv(70, 87%, 21%)
CMYKcmyk(15.1%, 0%, 86.8%, 79.2%)
CIE-LABlab(20.52, -10.84, 25.69)
CIE-LCHlch(20.52, 27.88, 112.87°)
OKLaboklab(31.11% -0.0323 0.0579)
OKLCHoklch(31.11% 0.066 119.1)
XYZxyz(2.3937, 3.1195, 0.6770)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3507 #0F0735
analogous
#352607 #2D3507 #163507
triadic
#2D3507 #072D35 #35072D
tetradic
#2D3507 #073526 #0F0735 #350716
square
#2D3507 #073526 #0F0735 #350716
split-complementary
#2D3507 #071635 #260735
monochromatic
#171B04 #171B04 #2D3507 #5B6B0E #89A115

Accessibility & contrast

On white

12.93
#2D3507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D3507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3507
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3507#FFFFFF#000000##FFFFFF
##2D35071.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393101
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#30322C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3507;
/* rgb */ color: rgb(45, 53, 7);
/* oklch */ color: oklch(31.1% 0.066 119.1);
Tailwind
colors: {
  custom: {
    50: '#686c4b',
    500: '#2d3507',
    950: '#000000',
  },
}
SCSS
$custom: #2d3507;
$custom-light: #686c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3507",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 7
  },
  "hsl": {
    "h": 70.435,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31109,
    "c": 0.0663,
    "h": 119.1
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#2D3507
secondary
#312375
accent
#35F356
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3507

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

Preview Lab → · Contrast checker → · Palette generator →

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