#30491F#30491F

#30491F is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.073 H 134.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#30491F
RGBrgb(48, 73, 31)
HSLhsl(96, 40%, 20%)
HSVhsv(96, 58%, 29%)
CMYKcmyk(34.2%, 0%, 57.5%, 71.4%)
CIE-LABlab(28.09, -18.36, 21.94)
CIE-LCHlch(28.09, 28.61, 129.93°)
OKLaboklab(37.38% -0.0508 0.0523)
OKLCHoklch(37.38% 0.073 134.1)
XYZxyz(3.8487, 5.4923, 2.1534)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30491F #381F49
analogous
#45491F #30491F #1F4923
triadic
#30491F #1F3049 #491F30
tetradic
#30491F #1F4549 #381F49 #49231F
square
#30491F #1F4549 #381F49 #49231F
split-complementary
#30491F #231F49 #491F45
monochromatic
#0E1509 #141E0D #30491F #4C7431 #689F43

Accessibility & contrast

On white

10.01
#30491F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#30491F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30491F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30491F#FFFFFF#000000##FFFFFF
##30491F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441B
Deuteranopia (green-blind)
#484222
Tritanopia (blue-blind)
#30463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #30491f;
/* rgb */ color: rgb(48, 73, 31);
/* oklch */ color: oklch(37.4% 0.073 134.1);
Tailwind
colors: {
  custom: {
    50: '#6a7c5c',
    500: '#30491f',
    950: '#000000',
  },
}
SCSS
$custom: #30491f;
$custom-light: #6a7c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#30491f",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 31
  },
  "hsl": {
    "h": 95.714,
    "s": 40.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37382,
    "c": 0.07292,
    "h": 134.1
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#30491F
secondary
#67467E
accent
#58D09F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #30491F

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

Preview Lab → · Contrast checker → · Palette generator →

#30491F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva