#396812#396812

#396812 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.124 H 134.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#396812
RGBrgb(57, 104, 18)
HSLhsl(93, 70%, 24%)
HSVhsv(93, 83%, 41%)
CMYKcmyk(45.2%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.27, -31.19, 39.97)
CIE-LCHlch(39.27, 50.70, 127.97°)
OKLaboklab(46.6% -0.0874 0.0886)
OKLCHoklch(46.6% 0.124 134.6)
XYZxyz(6.7467, 10.8138, 2.3039)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396812 #411268
analogous
#646812 #396812 #126816
triadic
#396812 #123968 #681239
tetradic
#396812 #126468 #411268 #681612
square
#396812 #126468 #411268 #681612
split-complementary
#396812 #161268 #681264
monochromatic
#0E1A05 #1C3409 #396812 #569C1B #72D024

Accessibility & contrast

On white

6.64
#396812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#396812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396812
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396812#FFFFFF#000000##FFFFFF
##3968121.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#386458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #396812;
/* rgb */ color: rgb(57, 104, 18);
/* oklch */ color: oklch(46.6% 0.124 134.6);
Tailwind
colors: {
  custom: {
    50: '#749358',
    500: '#396812',
    950: '#000000',
  },
}
SCSS
$custom: #396812;
$custom-light: #749358;
$custom-dark: #000000;
JSON
{
  "hex": "#396812",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 92.791,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46602,
    "c": 0.12448,
    "h": 134.6
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#396812
secondary
#7036A0
accent
#3BED9C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396812

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

Preview Lab → · Contrast checker → · Palette generator →

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