#456512#456512

#456512 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.5% C 0.114 H 129.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#456512
RGBrgb(69, 101, 18)
HSLhsl(83, 70%, 23%)
HSVhsv(83, 82%, 40%)
CMYKcmyk(31.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.93, -25.02, 39.89)
CIE-LCHlch(38.93, 47.09, 122.10°)
OKLaboklab(46.51% -0.0716 0.0882)
OKLCHoklch(46.51% 0.114 129.1)
XYZxyz(7.2171, 10.6160, 2.2410)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456512 #321265
analogous
#655B12 #456512 #1B6512
triadic
#456512 #124565 #651245
tetradic
#456512 #12655B #321265 #65121B
square
#456512 #12655B #321265 #65121B
split-complementary
#456512 #121B65 #5B1265
monochromatic
#121A05 #223109 #456512 #68991B #8CCD25

Accessibility & contrast

On white

6.72
#456512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#456512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456512
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456512#FFFFFF#000000##FFFFFF
##4565121.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#476056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #456512;
/* rgb */ color: rgb(69, 101, 18);
/* oklch */ color: oklch(46.5% 0.114 129.1);
Tailwind
colors: {
  custom: {
    50: '#7c9158',
    500: '#456512',
    950: '#000000',
  },
}
SCSS
$custom: #456512;
$custom-light: #7c9158;
$custom-dark: #000000;
JSON
{
  "hex": "#456512",
  "rgb": {
    "r": 69,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 83.133,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.11359,
    "h": 129.1
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#456512
secondary
#5E369D
accent
#3BED80
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #456512

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

Preview Lab → · Contrast checker → · Palette generator →

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