#456A12#456A12

#456A12 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.9% C 0.120 H 130.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#456A12
RGBrgb(69, 106, 18)
HSLhsl(85, 71%, 24%)
HSVhsv(85, 83%, 42%)
CMYKcmyk(34.9%, 0%, 83%, 58.4%)
CIE-LABlab(40.60, -27.46, 41.45)
CIE-LCHlch(40.60, 49.72, 123.52°)
OKLaboklab(47.87% -0.0782 0.0915)
OKLCHoklch(47.87% 0.12 130.5)
XYZxyz(7.7174, 11.6167, 2.4078)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456A12 #37126A
analogous
#6A6312 #456A12 #196A12
triadic
#456A12 #12456A #6A1245
tetradic
#456A12 #126A63 #37126A #6A1219
square
#456A12 #126A63 #37126A #6A1219
split-complementary
#456A12 #12196A #63126A
monochromatic
#111A04 #233609 #456A12 #679E1B #89D324

Accessibility & contrast

On white

6.32
#456A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#456A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456A12
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456A12#FFFFFF#000000##FFFFFF
##456A121.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#47655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #456a12;
/* rgb */ color: rgb(69, 106, 18);
/* oklch */ color: oklch(47.9% 0.120 130.5);
Tailwind
colors: {
  custom: {
    50: '#7d9558',
    500: '#456a12',
    950: '#000000',
  },
}
SCSS
$custom: #456a12;
$custom-light: #7d9558;
$custom-dark: #000000;
JSON
{
  "hex": "#456a12",
  "rgb": {
    "r": 69,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 85.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.12033,
    "h": 130.5
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#456A12
secondary
#6336A2
accent
#3AEE86
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456A12

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

Preview Lab → · Contrast checker → · Palette generator →

#456A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva