#456F12#456F12

#456F12 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.127 H 131.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#456F12
RGBrgb(69, 111, 18)
HSLhsl(87, 72%, 25%)
HSVhsv(87, 84%, 44%)
CMYKcmyk(37.8%, 0%, 83.8%, 56.5%)
CIE-LABlab(42.27, -29.82, 42.99)
CIE-LCHlch(42.27, 52.32, 124.74°)
OKLaboklab(49.24% -0.0846 0.0947)
OKLCHoklch(49.24% 0.127 131.8)
XYZxyz(8.2478, 12.6774, 2.5846)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456F12 #3C126F
analogous
#6F6A12 #456F12 #166F12
triadic
#456F12 #12456F #6F1245
tetradic
#456F12 #126F6A #3C126F #6F1216
square
#456F12 #126F6A #3C126F #6F1216
split-complementary
#456F12 #12166F #6A126F
monochromatic
#101A04 #243A09 #456F12 #66A41B #86D823

Accessibility & contrast

On white

5.94
#456F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#456F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456F12
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456F12#FFFFFF#000000##FFFFFF
##456F121.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#466A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #456f12;
/* rgb */ color: rgb(69, 111, 18);
/* oklch */ color: oklch(49.2% 0.127 131.8);
Tailwind
colors: {
  custom: {
    50: '#7d9859',
    500: '#456f12',
    950: '#000000',
  },
}
SCSS
$custom: #456f12;
$custom-light: #7d9859;
$custom-dark: #000000;
JSON
{
  "hex": "#456f12",
  "rgb": {
    "r": 69,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 87.097,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.12696,
    "h": 131.8
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#456F12
secondary
#6937A6
accent
#39EF8B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #456F12

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

Preview Lab → · Contrast checker → · Palette generator →

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