#30680F#30680F

#30680F is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.1% C 0.131 H 137.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#30680F
RGBrgb(48, 104, 15)
HSLhsl(98, 75%, 23%)
HSVhsv(98, 86%, 41%)
CMYKcmyk(53.8%, 0%, 85.6%, 59.2%)
CIE-LABlab(38.83, -34.48, 40.39)
CIE-LCHlch(38.83, 53.11, 130.49°)
OKLaboklab(46.13% -0.0958 0.0892)
OKLCHoklch(46.13% 0.131 137.1)
XYZxyz(6.2553, 10.5630, 2.1611)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30680F #470F68
analogous
#5C680F #30680F #0F681A
triadic
#30680F #0F3068 #680F30
tetradic
#30680F #0F5C68 #470F68 #681A0F
square
#30680F #0F5C68 #470F68 #681A0F
split-complementary
#30680F #1A0F68 #680F5C
monochromatic
#0C1B04 #173307 #30680F #499D17 #61D31E

Accessibility & contrast

On white

6.75
#30680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#30680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30680F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30680F#FFFFFF#000000##FFFFFF
##30680F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#2C6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #30680f;
/* rgb */ color: rgb(48, 104, 15);
/* oklch */ color: oklch(46.1% 0.131 137.1);
Tailwind
colors: {
  custom: {
    50: '#6f9457',
    500: '#30680f',
    950: '#000000',
  },
}
SCSS
$custom: #30680f;
$custom-light: #6f9457;
$custom-dark: #000000;
JSON
{
  "hex": "#30680f",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 97.753,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46129,
    "c": 0.13092,
    "h": 137.1
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#30680F
secondary
#7832A1
accent
#36F1AC
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #30680F

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

Preview Lab → · Contrast checker → · Palette generator →

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