#126A0F#126A0F

#126A0F is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.145 H 142.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#126A0F
RGBrgb(18, 106, 15)
HSLhsl(118, 75%, 24%)
HSVhsv(118, 86%, 42%)
CMYKcmyk(83%, 0%, 85.8%, 58.4%)
CIE-LABlab(38.67, -42.39, 39.93)
CIE-LCHlch(38.67, 58.24, 136.71°)
OKLaboklab(45.75% -0.1152 0.0886)
OKLCHoklch(45.75% 0.145 142.4)
XYZxyz(5.4894, 10.4705, 2.1835)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A0F #670F6A
analogous
#3F6A0F #126A0F #0F6A39
triadic
#126A0F #0F126A #6A0F12
tetradic
#126A0F #0F3F6A #670F6A #6A390F
square
#126A0F #0F3F6A #670F6A #6A390F
split-complementary
#126A0F #390F6A #6A0F3F
monochromatic
#051B04 #093407 #126A0F #1BA017 #24D51E

Accessibility & contrast

On white

6.79
#126A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#126A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A0F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A0F#FFFFFF#000000##FFFFFF
##126A0F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a0f;
/* rgb */ color: rgb(18, 106, 15);
/* oklch */ color: oklch(45.8% 0.145 142.4);
Tailwind
colors: {
  custom: {
    50: '#639657',
    500: '#126a0f',
    950: '#000000',
  },
}
SCSS
$custom: #126a0f;
$custom-light: #639657;
$custom-dark: #000000;
JSON
{
  "hex": "#126a0f",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 118.022,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.14531,
    "h": 142.4
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#126A0F
secondary
#9F32A2
accent
#36F2EC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#126A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva