#126813#126813

#126813 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.141 H 142.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#126813
RGBrgb(18, 104, 19)
HSLhsl(121, 70%, 24%)
HSVhsv(121, 83%, 41%)
CMYKcmyk(82.7%, 0%, 81.7%, 59.2%)
CIE-LABlab(37.98, -41.44, 37.94)
CIE-LCHlch(37.98, 56.18, 137.53°)
OKLaboklab(45.18% -0.1124 0.085)
OKLCHoklch(45.18% 0.141 142.9)
XYZxyz(5.3170, 10.0756, 2.2805)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126813 #681267
analogous
#3C6812 #126813 #12683E
triadic
#126813 #131268 #681312
tetradic
#126813 #123C68 #681267 #683E12
square
#126813 #123C68 #681267 #683E12
split-complementary
#126813 #3E1268 #68123C
monochromatic
#051A05 #093409 #126813 #1B9C1D #24D026

Accessibility & contrast

On white

6.96
#126813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#126813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126813
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126813#FFFFFF#000000##FFFFFF
##1268131.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D01
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126813;
/* rgb */ color: rgb(18, 104, 19);
/* oklch */ color: oklch(45.2% 0.141 142.9);
Tailwind
colors: {
  custom: {
    50: '#629458',
    500: '#126813',
    950: '#000000',
  },
}
SCSS
$custom: #126813;
$custom-light: #629458;
$custom-dark: #000000;
JSON
{
  "hex": "#126813",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 120.698,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.14095,
    "h": 142.9
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#126813
secondary
#A0369E
accent
#3BEBED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126813

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

Preview Lab → · Contrast checker → · Palette generator →

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