#305213#305213

#305213 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.098 H 133.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#305213
RGBrgb(48, 82, 19)
HSLhsl(92, 62%, 20%)
HSVhsv(92, 77%, 32%)
CMYKcmyk(41.5%, 0%, 76.8%, 67.8%)
CIE-LABlab(31.14, -24.28, 31.46)
CIE-LCHlch(31.14, 39.74, 127.65°)
OKLaboklab(39.82% -0.068 0.0712)
OKLCHoklch(39.82% 0.098 133.7)
XYZxyz(4.3537, 6.7098, 1.6817)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305213 #351352
analogous
#505213 #305213 #135216
triadic
#305213 #133052 #521330
tetradic
#305213 #135052 #351352 #521613
square
#305213 #135052 #351352 #521613
split-complementary
#305213 #161352 #521350
monochromatic
#0F1906 #132007 #305213 #4D841F #6AB52A

Accessibility & contrast

On white

8.97
#305213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#305213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305213
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305213#FFFFFF#000000##FFFFFF
##3052131.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B09
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#304E46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #305213;
/* rgb */ color: rgb(48, 82, 19);
/* oklch */ color: oklch(39.8% 0.098 133.7);
Tailwind
colors: {
  custom: {
    50: '#6c8355',
    500: '#305213',
    950: '#000000',
  },
}
SCSS
$custom: #305213;
$custom-light: #6c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#305213",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 92.381,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.09844,
    "h": 133.7
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#305213
secondary
#64368A
accent
#42E59A
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305213

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

Preview Lab → · Contrast checker → · Palette generator →

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