#397210#397210

#397210 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.4% C 0.138 H 136.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#397210
RGBrgb(57, 114, 16)
HSLhsl(95, 75%, 25%)
HSVhsv(95, 86%, 45%)
CMYKcmyk(50%, 0%, 86%, 55.3%)
CIE-LABlab(42.67, -35.65, 43.74)
CIE-LCHlch(42.67, 56.43, 129.18°)
OKLaboklab(49.4% -0.0995 0.0962)
OKLCHoklch(49.4% 0.138 136)
XYZxyz(7.7980, 12.9414, 2.5771)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397210 #491072
analogous
#6A7210 #397210 #107218
triadic
#397210 #103972 #721039
tetradic
#397210 #106A72 #491072 #721810
square
#397210 #106A72 #491072 #721810
split-complementary
#397210 #181072 #72106A
monochromatic
#0D1B04 #1E3C08 #397210 #54A818 #6FDD1F

Accessibility & contrast

On white

5.85
#397210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#397210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397210
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397210#FFFFFF#000000##FFFFFF
##3972101.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#366D60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397210;
/* rgb */ color: rgb(57, 114, 16);
/* oklch */ color: oklch(49.4% 0.138 136.0);
Tailwind
colors: {
  custom: {
    50: '#769b59',
    500: '#397210',
    950: '#000000',
  },
}
SCSS
$custom: #397210;
$custom-light: #769b59;
$custom-dark: #000000;
JSON
{
  "hex": "#397210",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 94.898,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.13843,
    "h": 136
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#397210
secondary
#7834A9
accent
#36F2A3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397210

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

Preview Lab → · Contrast checker → · Palette generator →

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