#2D330F#2D330F

#2D330F is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.056 H 117.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2D330F
RGBrgb(45, 51, 15)
HSLhsl(70, 55%, 13%)
HSVhsv(70, 71%, 20%)
CMYKcmyk(11.8%, 0%, 70.6%, 80%)
CIE-LABlab(19.88, -8.96, 21.42)
CIE-LCHlch(19.88, 23.22, 112.70°)
OKLaboklab(30.63% -0.0261 0.0495)
OKLCHoklch(30.63% 0.056 117.8)
XYZxyz(2.3523, 2.9601, 0.8993)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D330F #150F33
analogous
#33270F #2D330F #1B330F
triadic
#2D330F #0F2D33 #330F2D
tetradic
#2D330F #0F3327 #150F33 #330F1B
square
#2D330F #0F3327 #150F33 #330F1B
split-complementary
#2D330F #0F1B33 #270F33
monochromatic
#151807 #151807 #2D330F #57621D #80922B

Accessibility & contrast

On white

13.19
#2D330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D330F
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D330F#FFFFFF#000000##FFFFFF
##2D330F1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d330f;
/* rgb */ color: rgb(45, 51, 15);
/* oklch */ color: oklch(30.6% 0.056 117.8);
Tailwind
colors: {
  custom: {
    50: '#676a4f',
    500: '#2d330f',
    950: '#000000',
  },
}
SCSS
$custom: #2d330f;
$custom-light: #676a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d330f",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 70,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30625,
    "c": 0.05591,
    "h": 117.8
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#2D330F
secondary
#3B316D
accent
#4ADE63
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D330F

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

Preview Lab → · Contrast checker → · Palette generator →

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