#374F12#374F12

#374F12 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.4% C 0.091 H 128.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#374F12
RGBrgb(55, 79, 18)
HSLhsl(84, 63%, 19%)
HSVhsv(84, 77%, 31%)
CMYKcmyk(30.4%, 0%, 77.2%, 69%)
CIE-LABlab(30.52, -19.87, 31.41)
CIE-LCHlch(30.52, 37.17, 122.32°)
OKLaboklab(39.43% -0.0566 0.0707)
OKLCHoklch(39.43% 0.091 128.7)
XYZxyz(4.4807, 6.4478, 1.5806)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F12 #2A124F
analogous
#4F4912 #374F12 #184F12
triadic
#374F12 #12374F #4F1237
tetradic
#374F12 #124F49 #2A124F #4F1218
square
#374F12 #124F49 #2A124F #4F1218
split-complementary
#374F12 #12184F #49124F
monochromatic
#111906 #141D07 #374F12 #5A811D #7CB329

Accessibility & contrast

On white

9.17
#374F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #374F12
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F12#FFFFFF#000000##FFFFFF
##374F121.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#394B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #374f12;
/* rgb */ color: rgb(55, 79, 18);
/* oklch */ color: oklch(39.4% 0.091 128.7);
Tailwind
colors: {
  custom: {
    50: '#708054',
    500: '#374f12',
    950: '#000000',
  },
}
SCSS
$custom: #374f12;
$custom-light: #708054;
$custom-dark: #000000;
JSON
{
  "hex": "#374f12",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 83.607,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.09061,
    "h": 128.7
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#374F12
secondary
#563588
accent
#42E682
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #374F12

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

Preview Lab → · Contrast checker → · Palette generator →

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