#30510F#30510F

#30510F is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.100 H 132.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#30510F
RGBrgb(48, 81, 15)
HSLhsl(90, 69%, 19%)
HSVhsv(90, 81%, 32%)
CMYKcmyk(40.7%, 0%, 81.5%, 68.2%)
CIE-LABlab(30.75, -24.09, 32.75)
CIE-LCHlch(30.75, 40.66, 126.34°)
OKLaboklab(39.5% -0.0679 0.0732)
OKLCHoklch(39.5% 0.1 132.8)
XYZxyz(4.2475, 6.5475, 1.4918)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30510F #300F51
analogous
#51510F #30510F #0F510F
triadic
#30510F #0F3051 #510F30
tetradic
#30510F #0F5151 #300F51 #510F0F
square
#30510F #0F5151 #300F51 #510F0F
split-complementary
#30510F #0F0F51 #510F51
monochromatic
#0F1A05 #111D05 #30510F #4F8519 #6DB822

Accessibility & contrast

On white

9.09
#30510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#30510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30510F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30510F#FFFFFF#000000##FFFFFF
##30510F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#304D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30510f;
/* rgb */ color: rgb(48, 81, 15);
/* oklch */ color: oklch(39.5% 0.100 132.8);
Tailwind
colors: {
  custom: {
    50: '#6c8253',
    500: '#30510f',
    950: '#000000',
  },
}
SCSS
$custom: #30510f;
$custom-light: #6c8253;
$custom-dark: #000000;
JSON
{
  "hex": "#30510f",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 90,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.09981,
    "h": 132.8
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#30510F
secondary
#5E318B
accent
#3CEC94
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #30510F

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

Preview Lab → · Contrast checker → · Palette generator →

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