#374E17#374E17

#374E17 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.2% C 0.085 H 129.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#374E17
RGBrgb(55, 78, 23)
HSLhsl(85, 54%, 20%)
HSVhsv(85, 71%, 31%)
CMYKcmyk(29.5%, 0%, 70.5%, 69.4%)
CIE-LABlab(30.21, -18.92, 28.76)
CIE-LCHlch(30.21, 34.43, 123.34°)
OKLaboklab(39.19% -0.0535 0.066)
OKLCHoklch(39.19% 0.085 129.1)
XYZxyz(4.4546, 6.3228, 1.7962)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374E17 #2E174E
analogous
#4E4A17 #374E17 #1C4E17
triadic
#374E17 #17374E #4E1737
tetradic
#374E17 #174E4A #2E174E #4E171C
square
#374E17 #174E4A #2E174E #4E171C
split-complementary
#374E17 #171C4E #4A174E
monochromatic
#111807 #161F09 #374E17 #587D25 #7AAD33

Accessibility & contrast

On white

9.27
#374E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#374E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374E17
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374E17#FFFFFF#000000##FFFFFF
##374E171.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524810
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#394A43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #374e17;
/* rgb */ color: rgb(55, 78, 23);
/* oklch */ color: oklch(39.2% 0.085 129.1);
Tailwind
colors: {
  custom: {
    50: '#707f57',
    500: '#374e17',
    950: '#000000',
  },
}
SCSS
$custom: #374e17;
$custom-light: #707f57;
$custom-dark: #000000;
JSON
{
  "hex": "#374e17",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 85.091,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39194,
    "c": 0.08496,
    "h": 129.1
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#374E17
secondary
#5A3C85
accent
#4ADE88
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #374E17

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

Preview Lab → · Contrast checker → · Palette generator →

#374E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva