#374F17#374F17

#374F17 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.086 H 129.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#374F17
RGBrgb(55, 79, 23)
HSLhsl(86, 55%, 20%)
HSVhsv(86, 71%, 31%)
CMYKcmyk(30.4%, 0%, 70.9%, 69%)
CIE-LABlab(30.56, -19.45, 29.14)
CIE-LCHlch(30.56, 35.03, 123.73°)
OKLaboklab(39.48% -0.055 0.0668)
OKLCHoklch(39.48% 0.086 129.5)
XYZxyz(4.5262, 6.4659, 1.8200)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F17 #2F174F
analogous
#4F4B17 #374F17 #1B4F17
triadic
#374F17 #17374F #4F1737
tetradic
#374F17 #174F4B #2F174F #4F171B
square
#374F17 #174F4B #2F174F #4F171B
split-complementary
#374F17 #171B4F #4B174F
monochromatic
#111807 #162009 #374F17 #587E25 #79AE33

Accessibility & contrast

On white

9.16
#374F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#374F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374F17
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F17#FFFFFF#000000##FFFFFF
##374F171.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#50471B
Tritanopia (blue-blind)
#394B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #374f17;
/* rgb */ color: rgb(55, 79, 23);
/* oklch */ color: oklch(39.5% 0.086 129.5);
Tailwind
colors: {
  custom: {
    50: '#708057',
    500: '#374f17',
    950: '#000000',
  },
}
SCSS
$custom: #374f17;
$custom-light: #708057;
$custom-dark: #000000;
JSON
{
  "hex": "#374f17",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 85.714,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.39475,
    "c": 0.08649,
    "h": 129.5
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#374F17
secondary
#5C3C86
accent
#4ADE89
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #374F17

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

Preview Lab → · Contrast checker → · Palette generator →

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