#30630F#30630F

#30630F is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.124 H 136.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#30630F
RGBrgb(48, 99, 15)
HSLhsl(96, 74%, 22%)
HSVhsv(96, 85%, 39%)
CMYKcmyk(51.5%, 0%, 84.8%, 61.2%)
CIE-LABlab(37.09, -32.36, 38.78)
CIE-LCHlch(37.09, 50.51, 129.84°)
OKLaboklab(44.69% -0.0901 0.0858)
OKLCHoklch(44.69% 0.124 136.4)
XYZxyz(5.7668, 9.5862, 1.9983)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30630F #420F63
analogous
#5A630F #30630F #0F6318
triadic
#30630F #0F3063 #630F30
tetradic
#30630F #0F5A63 #420F63 #63180F
square
#30630F #0F5A63 #420F63 #63180F
split-complementary
#30630F #180F63 #630F5A
monochromatic
#0D1B04 #162E07 #30630F #4A9817 #64CD1F

Accessibility & contrast

On white

7.20
#30630F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#30630F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30630F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30630F#FFFFFF#000000##FFFFFF
##30630F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#2D5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30630f;
/* rgb */ color: rgb(48, 99, 15);
/* oklch */ color: oklch(44.7% 0.124 136.4);
Tailwind
colors: {
  custom: {
    50: '#6e9056',
    500: '#30630f',
    950: '#000000',
  },
}
SCSS
$custom: #30630f;
$custom-light: #6e9056;
$custom-dark: #000000;
JSON
{
  "hex": "#30630f",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 96.429,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.12445,
    "h": 136.4
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#30630F
secondary
#72329C
accent
#37F0A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #30630F

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

Preview Lab → · Contrast checker → · Palette generator →

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