#397512#397512

#397512 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.2% C 0.141 H 136.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#397512
RGBrgb(57, 117, 18)
HSLhsl(96, 73%, 26%)
HSVhsv(96, 85%, 46%)
CMYKcmyk(51.3%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.71, -36.80, 44.09)
CIE-LCHlch(43.71, 57.43, 129.85°)
OKLaboklab(50.25% -0.1025 0.0973)
OKLCHoklch(50.25% 0.141 136.5)
XYZxyz(8.1576, 13.6355, 2.7742)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397512 #4E1275
analogous
#6B7512 #397512 #12751D
triadic
#397512 #123975 #751239
tetradic
#397512 #126B75 #4E1275 #751D12
square
#397512 #126B75 #4E1275 #751D12
split-complementary
#397512 #1D1275 #75126B
monochromatic
#0D1B04 #1F400A #397512 #53AA1A #6DDD24

Accessibility & contrast

On white

5.63
#397512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#397512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397512
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397512#FFFFFF#000000##FFFFFF
##3975121.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#72651E
Tritanopia (blue-blind)
#367063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397512;
/* rgb */ color: rgb(57, 117, 18);
/* oklch */ color: oklch(50.2% 0.141 136.5);
Tailwind
colors: {
  custom: {
    50: '#769d5a',
    500: '#397512',
    950: '#000000',
  },
}
SCSS
$custom: #397512;
$custom-light: #769d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#397512",
  "rgb": {
    "r": 57,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 96.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.1413,
    "h": 136.5
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#397512
secondary
#7E37AC
accent
#38F0A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397512

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

Preview Lab → · Contrast checker → · Palette generator →

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