#2D340B#2D340B

#2D340B is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.9% C 0.061 H 118.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2D340B
RGBrgb(45, 52, 11)
HSLhsl(70, 65%, 12%)
HSVhsv(70, 79%, 20%)
CMYKcmyk(13.5%, 0%, 78.8%, 79.6%)
CIE-LABlab(20.20, -9.93, 23.69)
CIE-LCHlch(20.20, 25.69, 112.74°)
OKLaboklab(30.86% -0.0293 0.0539)
OKLCHoklch(30.86% 0.061 118.5)
XYZxyz(2.3706, 3.0381, 0.7781)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D340B #120B34
analogous
#34270B #2D340B #19340B
triadic
#2D340B #0B2D34 #340B2D
tetradic
#2D340B #0B3427 #120B34 #340B19
square
#2D340B #0B3427 #120B34 #340B19
split-complementary
#2D340B #0B1934 #270B34
monochromatic
#161905 #161905 #2D340B #596716 #849920

Accessibility & contrast

On white

13.06
#2D340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D340B
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D340B#FFFFFF#000000##FFFFFF
##2D340B1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383106
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#30312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d340b;
/* rgb */ color: rgb(45, 52, 11);
/* oklch */ color: oklch(30.9% 0.061 118.5);
Tailwind
colors: {
  custom: {
    50: '#676b4d',
    500: '#2d340b',
    950: '#000000',
  },
}
SCSS
$custom: #2d340b;
$custom-light: #676b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d340b",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 70.244,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30862,
    "c": 0.06137,
    "h": 118.5
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#2D340B
secondary
#362A71
accent
#40E85C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D340B

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

Preview Lab → · Contrast checker → · Palette generator →

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