#30650F#30650F

#30650F is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.3% C 0.127 H 136.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#30650F
RGBrgb(48, 101, 15)
HSLhsl(97, 74%, 23%)
HSVhsv(97, 85%, 40%)
CMYKcmyk(52.5%, 0%, 85.1%, 60.4%)
CIE-LABlab(37.79, -33.22, 39.43)
CIE-LCHlch(37.79, 51.55, 130.11°)
OKLaboklab(45.27% -0.0924 0.0872)
OKLCHoklch(45.27% 0.127 136.7)
XYZxyz(5.9587, 9.9698, 2.0622)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30650F #440F65
analogous
#5B650F #30650F #0F6519
triadic
#30650F #0F3065 #650F30
tetradic
#30650F #0F5B65 #440F65 #65190F
square
#30650F #0F5B65 #440F65 #65190F
split-complementary
#30650F #190F65 #650F5B
monochromatic
#0D1B04 #173007 #30650F #499A17 #63D01F

Accessibility & contrast

On white

7.01
#30650F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#30650F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30650F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30650F#FFFFFF#000000##FFFFFF
##30650F1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#2D6155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #30650f;
/* rgb */ color: rgb(48, 101, 15);
/* oklch */ color: oklch(45.3% 0.127 136.7);
Tailwind
colors: {
  custom: {
    50: '#6f9156',
    500: '#30650f',
    950: '#000000',
  },
}
SCSS
$custom: #30650f;
$custom-light: #6f9156;
$custom-dark: #000000;
JSON
{
  "hex": "#30650f",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 15
  },
  "hsl": {
    "h": 96.977,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.12705,
    "h": 136.7
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#30650F
secondary
#74329E
accent
#37F1AA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #30650F

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

Preview Lab → · Contrast checker → · Palette generator →

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