#30450C#30450C

#30450C is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.084 H 128.0°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#30450C
RGBrgb(48, 69, 12)
HSLhsl(82, 70%, 16%)
HSVhsv(82, 83%, 27%)
CMYKcmyk(30.4%, 0%, 82.6%, 72.9%)
CIE-LABlab(26.48, -18.14, 29.80)
CIE-LCHlch(26.48, 34.89, 121.33°)
OKLaboklab(36.01% -0.052 0.0665)
OKLCHoklch(36.01% 0.084 128)
XYZxyz(3.4134, 4.9111, 1.1159)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30450C #210C45
analogous
#453D0C #30450C #13450C
triadic
#30450C #0C3045 #450C30
tetradic
#30450C #0C453D #210C45 #450C13
square
#30450C #0C453D #210C45 #450C13
split-complementary
#30450C #0C1345 #3D0C45
monochromatic
#121A05 #121A05 #30450C #547915 #79AD1E

Accessibility & contrast

On white

10.59
#30450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#30450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30450C
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30450C#FFFFFF#000000##FFFFFF
##30450C1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494003
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#32413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30450c;
/* rgb */ color: rgb(48, 69, 12);
/* oklch */ color: oklch(36.0% 0.084 128.0);
Tailwind
colors: {
  custom: {
    50: '#6b784f',
    500: '#30450c',
    950: '#000000',
  },
}
SCSS
$custom: #30450c;
$custom-light: #6b784f;
$custom-dark: #000000;
JSON
{
  "hex": "#30450c",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 82.105,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36007,
    "c": 0.08437,
    "h": 128
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#30450C
secondary
#4B2C81
accent
#3BED7C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30450C

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

Preview Lab → · Contrast checker → · Palette generator →

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