#374F18#374F18

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

Color values

HEX#374F18
RGBrgb(55, 79, 24)
HSLhsl(86, 53%, 20%)
HSVhsv(86, 70%, 31%)
CMYKcmyk(30.4%, 0%, 69.6%, 69%)
CIE-LABlab(30.57, -19.36, 28.65)
CIE-LCHlch(30.57, 34.58, 124.04°)
OKLaboklab(39.49% -0.0546 0.0659)
OKLCHoklch(39.49% 0.086 129.7)
XYZxyz(4.5364, 6.4700, 1.8738)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F18 #30184F
analogous
#4F4B18 #374F18 #1B4F18
triadic
#374F18 #18374F #4F1837
tetradic
#374F18 #184F4B #30184F #4F181B
square
#374F18 #184F4B #30184F #4F181B
split-complementary
#374F18 #181B4F #4B184F
monochromatic
#101707 #16200A #374F18 #587E26 #78AD35

Accessibility & contrast

On white

9.15
#374F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #374F18
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F18#FFFFFF#000000##FFFFFF
##374F181.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#50471C
Tritanopia (blue-blind)
#394B44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #374f18;
/* rgb */ color: rgb(55, 79, 24);
/* oklch */ color: oklch(39.5% 0.086 129.7);
Tailwind
colors: {
  custom: {
    50: '#708058',
    500: '#374f18',
    950: '#000000',
  },
}
SCSS
$custom: #374f18;
$custom-light: #708058;
$custom-dark: #000000;
JSON
{
  "hex": "#374f18",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 86.182,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.0856,
    "h": 129.7
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#374F18
secondary
#5D3D86
accent
#4BDD8B
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #374F18

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

Preview Lab → · Contrast checker → · Palette generator →

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