#30540E#30540E

#30540E is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.105 H 133.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#30540E
RGBrgb(48, 84, 14)
HSLhsl(91, 71%, 19%)
HSVhsv(91, 83%, 33%)
CMYKcmyk(42.9%, 0%, 83.3%, 67.1%)
CIE-LABlab(31.81, -25.61, 34.15)
CIE-LCHlch(31.81, 42.69, 126.87°)
OKLaboklab(40.36% -0.072 0.0759)
OKLCHoklch(40.36% 0.105 133.5)
XYZxyz(4.4684, 7.0005, 1.5312)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30540E #320E54
analogous
#53540E #30540E #0E540F
triadic
#30540E #0E3054 #540E30
tetradic
#30540E #0E5354 #320E54 #540F0E
square
#30540E #0E5354 #320E54 #540F0E
split-complementary
#30540E #0F0E54 #540E53
monochromatic
#0F1A04 #122005 #30540E #4E8817 #6CBD1F

Accessibility & contrast

On white

8.75
#30540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#30540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30540E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30540E#FFFFFF#000000##FFFFFF
##30540E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D01
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#305047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30540e;
/* rgb */ color: rgb(48, 84, 14);
/* oklch */ color: oklch(40.4% 0.105 133.5);
Tailwind
colors: {
  custom: {
    50: '#6c8453',
    500: '#30540e',
    950: '#000000',
  },
}
SCSS
$custom: #30540e;
$custom-light: #6c8453;
$custom-dark: #000000;
JSON
{
  "hex": "#30540e",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 90.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.10468,
    "h": 133.5
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#30540E
secondary
#602F8E
accent
#3AEE96
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #30540E

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

Preview Lab → · Contrast checker → · Palette generator →

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