#305113#305113

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

Color values

HEX#305113
RGBrgb(48, 81, 19)
HSLhsl(92, 62%, 20%)
HSVhsv(92, 77%, 32%)
CMYKcmyk(40.7%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.78, -23.79, 31.10)
CIE-LCHlch(30.78, 39.16, 127.41°)
OKLaboklab(39.53% -0.0667 0.0704)
OKLCHoklch(39.53% 0.097 133.5)
XYZxyz(4.2788, 6.5601, 1.6567)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305113 #341351
analogous
#4F5113 #305113 #135115
triadic
#305113 #133051 #511330
tetradic
#305113 #134F51 #341351 #511513
square
#305113 #134F51 #341351 #511513
split-complementary
#305113 #151351 #51134F
monochromatic
#0F1906 #131F07 #305113 #4D831F #6BB42A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305113#FFFFFF#000000##FFFFFF
##3051131.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)
#554A09
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#304E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305113;
/* rgb */ color: rgb(48, 81, 19);
/* oklch */ color: oklch(39.5% 0.097 133.5);
Tailwind
colors: {
  custom: {
    50: '#6c8255',
    500: '#305113',
    950: '#000000',
  },
}
SCSS
$custom: #305113;
$custom-light: #6c8255;
$custom-dark: #000000;
JSON
{
  "hex": "#305113",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 91.935,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.09698,
    "h": 133.5
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#305113
secondary
#63368A
accent
#43E599
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305113

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

Preview Lab → · Contrast checker → · Palette generator →

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