#375212#375212

#375212 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.095 H 129.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#375212
RGBrgb(55, 82, 18)
HSLhsl(85, 64%, 20%)
HSVhsv(85, 78%, 32%)
CMYKcmyk(32.9%, 0%, 78%, 67.8%)
CIE-LABlab(31.56, -21.43, 32.46)
CIE-LCHlch(31.56, 38.90, 123.44°)
OKLaboklab(40.27% -0.0609 0.0729)
OKLCHoklch(40.27% 0.095 129.9)
XYZxyz(4.7020, 6.8903, 1.6544)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#375212 #2D1252
analogous
#524D12 #375212 #175212
triadic
#375212 #123752 #521237
tetradic
#375212 #12524D #2D1252 #521217
square
#375212 #12524D #2D1252 #521217
split-complementary
#375212 #121752 #4D1252
monochromatic
#111906 #152007 #375212 #59841D #7AB628

Accessibility & contrast

On white

8.83
#375212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#375212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #375212
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##375212#FFFFFF#000000##FFFFFF
##3752121.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C07
Deuteranopia (green-blind)
#524A18
Tritanopia (blue-blind)
#394E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #375212;
/* rgb */ color: rgb(55, 82, 18);
/* oklch */ color: oklch(40.3% 0.095 129.9);
Tailwind
colors: {
  custom: {
    50: '#718255',
    500: '#375212',
    950: '#000000',
  },
}
SCSS
$custom: #375212;
$custom-light: #718255;
$custom-dark: #000000;
JSON
{
  "hex": "#375212",
  "rgb": {
    "r": 55,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 85.313,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.09501,
    "h": 129.9
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#375212
secondary
#59358B
accent
#41E787
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #375212

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

Preview Lab → · Contrast checker → · Palette generator →

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