#397011#397011

#397011 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.8% C 0.135 H 135.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#397011
RGBrgb(57, 112, 17)
HSLhsl(95, 74%, 25%)
HSVhsv(95, 85%, 44%)
CMYKcmyk(49.1%, 0%, 84.8%, 56.1%)
CIE-LABlab(42.00, -34.75, 42.83)
CIE-LCHlch(42.00, 55.15, 129.05°)
OKLaboklab(48.84% -0.097 0.0945)
OKLCHoklch(48.84% 0.135 135.8)
XYZxyz(7.5825, 12.4982, 2.5430)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397011 #481170
analogous
#687011 #397011 #117019
triadic
#397011 #113970 #701139
tetradic
#397011 #116870 #481170 #701911
square
#397011 #116870 #481170 #701911
split-complementary
#397011 #191170 #701168
monochromatic
#0E1B04 #1E3B09 #397011 #54A519 #6FDA21

Accessibility & contrast

On white

6.00
#397011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#397011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397011
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397011#FFFFFF#000000##FFFFFF
##3970111.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#376B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397011;
/* rgb */ color: rgb(57, 112, 17);
/* oklch */ color: oklch(48.8% 0.135 135.8);
Tailwind
colors: {
  custom: {
    50: '#769959',
    500: '#397011',
    950: '#000000',
  },
}
SCSS
$custom: #397011;
$custom-light: #769959;
$custom-dark: #000000;
JSON
{
  "hex": "#397011",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 94.737,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48843,
    "c": 0.13542,
    "h": 135.8
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#397011
secondary
#7735A7
accent
#37F0A2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397011

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

Preview Lab → · Contrast checker → · Palette generator →

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