#2D340A#2D340A

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

Color values

HEX#2D340A
RGBrgb(45, 52, 10)
HSLhsl(70, 68%, 12%)
HSVhsv(70, 81%, 20%)
CMYKcmyk(13.5%, 0%, 80.8%, 79.6%)
CIE-LABlab(20.19, -10.01, 24.10)
CIE-LCHlch(20.19, 26.09, 112.55°)
OKLaboklab(30.85% -0.0296 0.0548)
OKLCHoklch(30.85% 0.062 118.4)
XYZxyz(2.3650, 3.0358, 0.7485)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D340A #110A34
analogous
#34260A #2D340A #18340A
triadic
#2D340A #0A2D34 #340A2D
tetradic
#2D340A #0A3426 #110A34 #340A18
square
#2D340A #0A3426 #110A34 #340A18
split-complementary
#2D340A #0A1834 #260A34
monochromatic
#161A05 #161A05 #2D340A #596714 #869B1E

Accessibility & contrast

On white

13.07
#2D340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D340A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D340A#FFFFFF#000000##FFFFFF
##2D340A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d340a;
/* rgb */ color: rgb(45, 52, 10);
/* oklch */ color: oklch(30.9% 0.062 118.4);
Tailwind
colors: {
  custom: {
    50: '#676b4c',
    500: '#2d340a',
    950: '#000000',
  },
}
SCSS
$custom: #2d340a;
$custom-light: #676b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d340a",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 70,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30852,
    "c": 0.06224,
    "h": 118.4
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#2D340A
secondary
#352871
accent
#3DEB5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D340A

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

Preview Lab → · Contrast checker → · Palette generator →

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