#374F28#374F28

#374F28 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.7% C 0.068 H 134.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#374F28
RGBrgb(55, 79, 40)
HSLhsl(97, 33%, 23%)
HSVhsv(97, 49%, 31%)
CMYKcmyk(30.4%, 0%, 49.4%, 69%)
CIE-LABlab(30.78, -17.40, 20.09)
CIE-LCHlch(30.78, 26.58, 130.88°)
OKLaboklab(39.72% -0.0478 0.0488)
OKLCHoklch(39.72% 0.068 134.4)
XYZxyz(4.7544, 6.5572, 3.0222)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F28 #40284F
analogous
#4A4F28 #374F28 #284F2C
triadic
#374F28 #28374F #4F2837
tetradic
#374F28 #284A4F #40284F #4F2C28
square
#374F28 #284A4F #40284F #4F2C28
split-complementary
#374F28 #2C284F #4F284A
monochromatic
#0E140A #1B2613 #374F28 #53783D #70A051

Accessibility & contrast

On white

9.09
#374F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#374F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374F28
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F28#FFFFFF#000000##FFFFFF
##374F281.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4E482A
Tritanopia (blue-blind)
#374C46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #374f28;
/* rgb */ color: rgb(55, 79, 40);
/* oklch */ color: oklch(39.7% 0.068 134.4);
Tailwind
colors: {
  custom: {
    50: '#6f8062',
    500: '#374f28',
    950: '#000000',
  },
}
SCSS
$custom: #374f28;
$custom-light: #6f8062;
$custom-dark: #000000;
JSON
{
  "hex": "#374f28",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 96.923,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.06836,
    "h": 134.4
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#374F28
secondary
#6F5182
accent
#5FC9A0
background
#F6F7F5
surface
#ECEEEA
border
#C7C9C6
text
#070A05
muted
#7A7C79

Preview Lab

Preview with #374F28

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

Preview Lab → · Contrast checker → · Palette generator →

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