#30341E#30341E

#30341E is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.5% C 0.037 H 117.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#30341E
RGBrgb(48, 52, 30)
HSLhsl(71, 27%, 16%)
HSVhsv(71, 42%, 20%)
CMYKcmyk(7.7%, 0%, 42.3%, 79.6%)
CIE-LABlab(20.74, -6.17, 13.36)
CIE-LCHlch(20.74, 14.72, 114.78°)
OKLaboklab(31.46% -0.0168 0.033)
OKLCHoklch(31.46% 0.037 117)
XYZxyz(2.6813, 3.1781, 1.7002)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30341E #221E34
analogous
#342D1E #30341E #25341E
triadic
#30341E #1E3034 #341E30
tetradic
#30341E #1E342D #221E34 #341E25
square
#30341E #1E342D #221E34 #341E25
split-complementary
#30341E #1E2534 #2D1E34
monochromatic
#12130B #12130B #30341E #545B34 #78824B

Accessibility & contrast

On white

12.84
#30341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#30341E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30341E
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30341E#FFFFFF#000000##FFFFFF
##30341E1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#36321F
Tritanopia (blue-blind)
#32322E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #30341e;
/* rgb */ color: rgb(48, 52, 30);
/* oklch */ color: oklch(31.5% 0.037 117.0);
Tailwind
colors: {
  custom: {
    50: '#686b5a',
    500: '#30341e',
    950: '#000000',
  },
}
SCSS
$custom: #30341e;
$custom-light: #686b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#30341e",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 70.909,
    "s": 26.829,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.03698,
    "h": 117
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#30341E
secondary
#4D4767
accent
#65C376
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #30341E

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

Preview Lab → · Contrast checker → · Palette generator →

#30341E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva