#397211#397211

#397211 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#397211
RGBrgb(57, 114, 17)
HSLhsl(95, 74%, 26%)
HSVhsv(95, 85%, 45%)
CMYKcmyk(50%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.68, -35.60, 43.45)
CIE-LCHlch(42.68, 56.17, 129.32°)
OKLaboklab(49.4% -0.0993 0.0958)
OKLCHoklch(49.4% 0.138 136)
XYZxyz(7.8056, 12.9444, 2.6174)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397211 #4A1172
analogous
#697211 #397211 #11721A
triadic
#397211 #113972 #721139
tetradic
#397211 #116972 #4A1172 #721A11
square
#397211 #116972 #4A1172 #721A11
split-complementary
#397211 #1A1172 #721169
monochromatic
#0D1B04 #1E3D09 #397211 #54A719 #6EDD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397211#FFFFFF#000000##FFFFFF
##3972111.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)
#6F631D
Tritanopia (blue-blind)
#366D60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397211;
/* rgb */ color: rgb(57, 114, 17);
/* oklch */ color: oklch(49.4% 0.138 136.0);
Tailwind
colors: {
  custom: {
    50: '#769b59',
    500: '#397211',
    950: '#000000',
  },
}
SCSS
$custom: #397211;
$custom-light: #769b59;
$custom-dark: #000000;
JSON
{
  "hex": "#397211",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 95.258,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.13797,
    "h": 136
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#397211
secondary
#7A36A9
accent
#37F1A4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397211

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

Preview Lab → · Contrast checker → · Palette generator →

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