#374B18#374B18

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

Color values

HEX#374B18
RGBrgb(55, 75, 24)
HSLhsl(84, 52%, 19%)
HSVhsv(84, 68%, 29%)
CMYKcmyk(26.7%, 0%, 68%, 70.6%)
CIE-LABlab(29.18, -17.20, 27.14)
CIE-LCHlch(29.18, 32.13, 122.37°)
OKLaboklab(38.37% -0.0487 0.0627)
OKLCHoklch(38.37% 0.079 127.8)
XYZxyz(4.2565, 5.9102, 1.7805)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374B18 #2C184B
analogous
#4B4618 #374B18 #1E4B18
triadic
#374B18 #18374B #4B1837
tetradic
#374B18 #184B46 #2C184B #4B181E
square
#374B18 #184B46 #2C184B #4B181E
split-complementary
#374B18 #181E4B #46184B
monochromatic
#111707 #151D09 #374B18 #597927 #7BA836

Accessibility & contrast

On white

9.62
#374B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #374B18
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374B18#FFFFFF#000000##FFFFFF
##374B181.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #374b18;
/* rgb */ color: rgb(55, 75, 24);
/* oklch */ color: oklch(38.4% 0.079 127.8);
Tailwind
colors: {
  custom: {
    50: '#707d57',
    500: '#374b18',
    950: '#000000',
  },
}
SCSS
$custom: #374b18;
$custom-light: #707d57;
$custom-dark: #000000;
JSON
{
  "hex": "#374b18",
  "rgb": {
    "r": 55,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 83.529,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.07938,
    "h": 127.8
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#374B18
secondary
#583D82
accent
#4DDB85
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #374B18

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

Preview Lab → · Contrast checker → · Palette generator →

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