#30640F#30640F

#30640F is a dark, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.126 H 136.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#30640F
RGBrgb(48, 100, 15)
HSLhsl(97, 74%, 23%)
HSVhsv(97, 85%, 39%)
CMYKcmyk(52%, 0%, 85%, 60.8%)
CIE-LABlab(37.44, -32.79, 39.10)
CIE-LCHlch(37.44, 51.03, 129.98°)
OKLaboklab(44.98% -0.0913 0.0865)
OKLCHoklch(44.98% 0.126 136.5)
XYZxyz(5.8622, 9.7768, 2.0301)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30640F #430F64
analogous
#5A640F #30640F #0F6419
triadic
#30640F #0F3064 #640F30
tetradic
#30640F #0F5A64 #430F64 #64190F
square
#30640F #0F5A64 #430F64 #64190F
split-complementary
#30640F #190F64 #640F5A
monochromatic
#0D1B04 #162F07 #30640F #4A9917 #63CE1F

Accessibility & contrast

On white

7.11
#30640F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#30640F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30640F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30640F#FFFFFF#000000##FFFFFF
##30640F1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#2D6054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #30640f;
/* rgb */ color: rgb(48, 100, 15);
/* oklch */ color: oklch(45.0% 0.126 136.5);
Tailwind
colors: {
  custom: {
    50: '#6e9156',
    500: '#30640f',
    950: '#000000',
  },
}
SCSS
$custom: #30640f;
$custom-light: #6e9156;
$custom-dark: #000000;
JSON
{
  "hex": "#30640f",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 96.706,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.12575,
    "h": 136.5
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#30640F
secondary
#73329D
accent
#37F1A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #30640F

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

Preview Lab → · Contrast checker → · Palette generator →

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