#374B17#374B17

#374B17 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.4% C 0.080 H 127.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#374B17
RGBrgb(55, 75, 23)
HSLhsl(83, 53%, 19%)
HSVhsv(83, 69%, 29%)
CMYKcmyk(26.7%, 0%, 69.3%, 70.6%)
CIE-LABlab(29.17, -17.30, 27.64)
CIE-LCHlch(29.17, 32.61, 122.05°)
OKLaboklab(38.35% -0.0491 0.0636)
OKLCHoklch(38.35% 0.08 127.7)
XYZxyz(4.2463, 5.9062, 1.7267)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374B17 #2B174B
analogous
#4B4517 #374B17 #1D4B17
triadic
#374B17 #17374B #4B1737
tetradic
#374B17 #174B45 #2B174B #4B171D
square
#374B17 #174B45 #2B174B #4B171D
split-complementary
#374B17 #171D4B #45174B
monochromatic
#111707 #151C09 #374B17 #597A25 #7CA934

Accessibility & contrast

On white

9.63
#374B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#374B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374B17
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374B17#FFFFFF#000000##FFFFFF
##374B171.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4611
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#394740
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #374b17;
/* rgb */ color: rgb(55, 75, 23);
/* oklch */ color: oklch(38.4% 0.080 127.7);
Tailwind
colors: {
  custom: {
    50: '#707d57',
    500: '#374b17',
    950: '#000000',
  },
}
SCSS
$custom: #374b17;
$custom-light: #707d57;
$custom-dark: #000000;
JSON
{
  "hex": "#374b17",
  "rgb": {
    "r": 55,
    "g": 75,
    "b": 23
  },
  "hsl": {
    "h": 83.077,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.08032,
    "h": 127.7
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#374B17
secondary
#573C82
accent
#4BDC83
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #374B17

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

Preview Lab → · Contrast checker → · Palette generator →

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