#374A18#374A18

#374A18 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.1% C 0.078 H 127.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#374A18
RGBrgb(55, 74, 24)
HSLhsl(83, 51%, 19%)
HSVhsv(83, 68%, 29%)
CMYKcmyk(25.7%, 0%, 67.6%, 71%)
CIE-LABlab(28.84, -16.66, 26.76)
CIE-LCHlch(28.84, 31.52, 121.90°)
OKLaboklab(38.09% -0.0472 0.0619)
OKLCHoklch(38.09% 0.078 127.3)
XYZxyz(4.1892, 5.7757, 1.7581)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374A18 #2B184A
analogous
#4A4418 #374A18 #1E4A18
triadic
#374A18 #18374A #4A1837
tetradic
#374A18 #184A44 #2B184A #4A181E
square
#374A18 #184A44 #2B184A #4A181E
split-complementary
#374A18 #181E4A #44184A
monochromatic
#111707 #151C09 #374A18 #597827 #7CA636

Accessibility & contrast

On white

9.74
#374A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#374A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374A18
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374A18#FFFFFF#000000##FFFFFF
##374A181.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#4B441C
Tritanopia (blue-blind)
#39463F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #374a18;
/* rgb */ color: rgb(55, 74, 24);
/* oklch */ color: oklch(38.1% 0.078 127.3);
Tailwind
colors: {
  custom: {
    50: '#6f7c57',
    500: '#374a18',
    950: '#000000',
  },
}
SCSS
$custom: #374a18;
$custom-light: #6f7c57;
$custom-dark: #000000;
JSON
{
  "hex": "#374a18",
  "rgb": {
    "r": 55,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 82.8,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.07781,
    "h": 127.3
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#374A18
secondary
#573D81
accent
#4DDA83
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #374A18

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

Preview Lab → · Contrast checker → · Palette generator →

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