#305114#305114

#305114 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.5% C 0.096 H 133.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#305114
RGBrgb(48, 81, 20)
HSLhsl(92, 60%, 20%)
HSVhsv(92, 75%, 32%)
CMYKcmyk(40.7%, 0%, 75.3%, 68.2%)
CIE-LABlab(30.79, -23.70, 30.66)
CIE-LCHlch(30.79, 38.75, 127.70°)
OKLaboklab(39.54% -0.0664 0.0696)
OKLCHoklch(39.54% 0.096 133.6)
XYZxyz(4.2875, 6.5635, 1.7027)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305114 #351451
analogous
#4F5114 #305114 #145117
triadic
#305114 #143051 #511430
tetradic
#305114 #144F51 #351451 #511714
square
#305114 #144F51 #351451 #511714
split-complementary
#305114 #171451 #51144F
monochromatic
#0F1906 #132008 #305114 #4D8220 #6AB32C

Accessibility & contrast

On white

9.08
#305114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#305114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305114
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305114#FFFFFF#000000##FFFFFF
##3051141.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#304E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305114;
/* rgb */ color: rgb(48, 81, 20);
/* oklch */ color: oklch(39.5% 0.096 133.6);
Tailwind
colors: {
  custom: {
    50: '#6b8255',
    500: '#305114',
    950: '#000000',
  },
}
SCSS
$custom: #305114;
$custom-light: #6b8255;
$custom-dark: #000000;
JSON
{
  "hex": "#305114",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 92.459,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.09621,
    "h": 133.6
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#305114
secondary
#643889
accent
#44E49A
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305114

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

Preview Lab → · Contrast checker → · Palette generator →

#305114 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva