#374812#374812

#374812 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.5% C 0.080 H 125.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#374812
RGBrgb(55, 72, 18)
HSLhsl(79, 60%, 18%)
HSVhsv(79, 75%, 28%)
CMYKcmyk(23.6%, 0%, 75%, 71.8%)
CIE-LABlab(28.09, -16.09, 28.93)
CIE-LCHlch(28.09, 33.10, 119.09°)
OKLaboklab(37.46% -0.0463 0.0655)
OKLCHoklch(37.46% 0.08 125.2)
XYZxyz(4.0021, 5.4906, 1.4211)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374812 #231248
analogous
#483E12 #374812 #1C4812
triadic
#374812 #123748 #481237
tetradic
#374812 #12483E #231248 #48121C
square
#374812 #12483E #231248 #48121C
split-complementary
#374812 #121C48 #3E1248
monochromatic
#131806 #131806 #374812 #5C791E #82AA2A

Accessibility & contrast

On white

10.01
#374812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#374812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374812
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374812#FFFFFF#000000##FFFFFF
##3748121.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#3A443D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #374812;
/* rgb */ color: rgb(55, 72, 18);
/* oklch */ color: oklch(37.5% 0.080 125.2);
Tailwind
colors: {
  custom: {
    50: '#707b53',
    500: '#374812',
    950: '#000000',
  },
}
SCSS
$custom: #374812;
$custom-light: #707b53;
$custom-dark: #000000;
JSON
{
  "hex": "#374812",
  "rgb": {
    "r": 55,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 78.889,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.08021,
    "h": 125.2
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#374812
secondary
#4D3581
accent
#45E377
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070903
muted
#7A7B78

Preview Lab

Preview with #374812

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

Preview Lab → · Contrast checker → · Palette generator →

#374812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva