#30660F#30660F

#30660F is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.6% C 0.128 H 136.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#30660F
RGBrgb(48, 102, 15)
HSLhsl(97, 74%, 23%)
HSVhsv(97, 85%, 40%)
CMYKcmyk(52.9%, 0%, 85.3%, 60%)
CIE-LABlab(38.14, -33.64, 39.75)
CIE-LCHlch(38.14, 52.08, 130.24°)
OKLaboklab(45.56% -0.0936 0.0878)
OKLCHoklch(45.56% 0.128 136.8)
XYZxyz(6.0563, 10.1652, 2.0948)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30660F #450F66
analogous
#5B660F #30660F #0F6619
triadic
#30660F #0F3066 #660F30
tetradic
#30660F #0F5B66 #450F66 #66190F
square
#30660F #0F5B66 #450F66 #66190F
split-complementary
#30660F #190F66 #660F5B
monochromatic
#0D1B04 #173107 #30660F #499B17 #62D11F

Accessibility & contrast

On white

6.92
#30660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#30660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30660F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30660F#FFFFFF#000000##FFFFFF
##30660F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#2D6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #30660f;
/* rgb */ color: rgb(48, 102, 15);
/* oklch */ color: oklch(45.6% 0.128 136.8);
Tailwind
colors: {
  custom: {
    50: '#6f9256',
    500: '#30660f',
    950: '#000000',
  },
}
SCSS
$custom: #30660f;
$custom-light: #6f9256;
$custom-dark: #000000;
JSON
{
  "hex": "#30660f",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 97.241,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.12835,
    "h": 136.8
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#30660F
secondary
#76329F
accent
#37F1AA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #30660F

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

Preview Lab → · Contrast checker → · Palette generator →

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