#374F0C#374F0C

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

Color values

HEX#374F0C
RGBrgb(55, 79, 12)
HSLhsl(81, 74%, 18%)
HSVhsv(81, 85%, 31%)
CMYKcmyk(30.4%, 0%, 84.8%, 69%)
CIE-LABlab(30.47, -20.27, 33.78)
CIE-LCHlch(30.47, 39.39, 120.97°)
OKLaboklab(39.38% -0.0583 0.0746)
OKLCHoklch(39.38% 0.095 128)
XYZxyz(4.4379, 6.4306, 1.3552)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F0C #240C4F
analogous
#4F450C #374F0C #154F0C
triadic
#374F0C #0C374F #4F0C37
tetradic
#374F0C #0C4F45 #240C4F #4F0C15
square
#374F0C #0C4F45 #240C4F #4F0C15
split-complementary
#374F0C #0C154F #450C4F
monochromatic
#121B04 #121B04 #374F0C #5C8414 #81B91C

Accessibility & contrast

On white

9.19
#374F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #374F0C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F0C#FFFFFF#000000##FFFFFF
##374F0C1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #374f0c;
/* rgb */ color: rgb(55, 79, 12);
/* oklch */ color: oklch(39.4% 0.095 128.0);
Tailwind
colors: {
  custom: {
    50: '#718051',
    500: '#374f0c',
    950: '#000000',
  },
}
SCSS
$custom: #374f0c;
$custom-light: #718051;
$custom-dark: #000000;
JSON
{
  "hex": "#374f0c",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 81.493,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39379,
    "c": 0.09467,
    "h": 128
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#374F0C
secondary
#4E2C8B
accent
#38F07A
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #374F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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