#30540D#30540D

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

Color values

HEX#30540D
RGBrgb(48, 84, 13)
HSLhsl(90, 73%, 19%)
HSVhsv(90, 85%, 33%)
CMYKcmyk(42.9%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.80, -25.68, 34.51)
CIE-LCHlch(31.80, 43.02, 126.65°)
OKLaboklab(40.35% -0.0723 0.0765)
OKLCHoklch(40.35% 0.105 133.4)
XYZxyz(4.4618, 6.9979, 1.4963)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30540D #310D54
analogous
#54540D #30540D #0D540E
triadic
#30540D #0D3054 #540D30
tetradic
#30540D #0D5454 #310D54 #540E0D
square
#30540D #0D5454 #310D54 #540E0D
split-complementary
#30540D #0E0D54 #540D54
monochromatic
#0F1A04 #121F05 #30540D #4E8915 #6DBE1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30540D#FFFFFF#000000##FFFFFF
##30540D1.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)
#584D00
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#305047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30540d;
/* rgb */ color: rgb(48, 84, 13);
/* oklch */ color: oklch(40.4% 0.105 133.4);
Tailwind
colors: {
  custom: {
    50: '#6c8452',
    500: '#30540d',
    950: '#000000',
  },
}
SCSS
$custom: #30540d;
$custom-light: #6c8452;
$custom-dark: #000000;
JSON
{
  "hex": "#30540d",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 90.423,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.10527,
    "h": 133.4
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#30540D
secondary
#5F2E8F
accent
#38F095
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #30540D

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

Preview Lab → · Contrast checker → · Palette generator →

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