#456612#456612

#456612 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.8% C 0.115 H 129.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#456612
RGBrgb(69, 102, 18)
HSLhsl(84, 70%, 24%)
HSVhsv(84, 82%, 40%)
CMYKcmyk(32.4%, 0%, 82.4%, 60%)
CIE-LABlab(39.26, -25.51, 40.20)
CIE-LCHlch(39.26, 47.62, 122.40°)
OKLaboklab(46.78% -0.0729 0.0888)
OKLCHoklch(46.78% 0.115 129.4)
XYZxyz(7.3148, 10.8114, 2.2736)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456612 #331266
analogous
#665D12 #456612 #1B6612
triadic
#456612 #124566 #661245
tetradic
#456612 #12665D #331266 #66121B
square
#456612 #12665D #331266 #66121B
split-complementary
#456612 #121B66 #5D1266
monochromatic
#121A05 #223209 #456612 #689A1B #8BCE24

Accessibility & contrast

On white

6.64
#456612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#456612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456612
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456612#FFFFFF#000000##FFFFFF
##4566121.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#476156
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #456612;
/* rgb */ color: rgb(69, 102, 18);
/* oklch */ color: oklch(46.8% 0.115 129.4);
Tailwind
colors: {
  custom: {
    50: '#7c9258',
    500: '#456612',
    950: '#000000',
  },
}
SCSS
$custom: #456612;
$custom-light: #7c9258;
$custom-dark: #000000;
JSON
{
  "hex": "#456612",
  "rgb": {
    "r": 69,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 83.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.11495,
    "h": 129.4
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#456612
secondary
#5F369E
accent
#3BED81
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #456612

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

Preview Lab → · Contrast checker → · Palette generator →

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