#30490C#30490C

#30490C is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.090 H 129.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#30490C
RGBrgb(48, 73, 12)
HSLhsl(85, 72%, 17%)
HSVhsv(85, 84%, 29%)
CMYKcmyk(34.2%, 0%, 83.6%, 71.4%)
CIE-LABlab(27.90, -20.26, 31.17)
CIE-LCHlch(27.90, 37.18, 123.02°)
OKLaboklab(37.16% -0.0577 0.0693)
OKLCHoklch(37.16% 0.09 129.8)
XYZxyz(3.6678, 5.4199, 1.2007)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30490C #250C49
analogous
#49440C #30490C #12490C
triadic
#30490C #0C3049 #490C30
tetradic
#30490C #0C4944 #250C49 #490C12
square
#30490C #0C4944 #250C49 #490C12
split-complementary
#30490C #0C1249 #440C49
monochromatic
#111A04 #111A04 #30490C #537E15 #75B21D

Accessibility & contrast

On white

10.08
#30490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#30490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30490C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30490C#FFFFFF#000000##FFFFFF
##30490C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#32453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #30490c;
/* rgb */ color: rgb(48, 73, 12);
/* oklch */ color: oklch(37.2% 0.090 129.8);
Tailwind
colors: {
  custom: {
    50: '#6b7c50',
    500: '#30490c',
    950: '#000000',
  },
}
SCSS
$custom: #30490c;
$custom-light: #6b7c50;
$custom-dark: #000000;
JSON
{
  "hex": "#30490c",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 84.59,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.09023,
    "h": 129.8
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#30490C
secondary
#502C85
accent
#39EE84
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30490C

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

Preview Lab → · Contrast checker → · Palette generator →

#30490C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva