#456012#456012

#456012 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.107 H 127.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#456012
RGBrgb(69, 96, 18)
HSLhsl(81, 68%, 22%)
HSVhsv(81, 81%, 38%)
CMYKcmyk(28.1%, 0%, 81.3%, 62.4%)
CIE-LABlab(37.25, -22.51, 38.31)
CIE-LCHlch(37.25, 44.44, 120.44°)
OKLaboklab(45.15% -0.0648 0.0849)
OKLCHoklch(45.15% 0.107 127.4)
XYZxyz(6.7463, 9.6745, 2.0841)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456012 #2D1260
analogous
#605412 #456012 #1E6012
triadic
#456012 #124560 #601245
tetradic
#456012 #126054 #2D1260 #60121E
square
#456012 #126054 #2D1260 #60121E
split-complementary
#456012 #121E60 #541260
monochromatic
#131A05 #202C08 #456012 #6A941C #8FC725

Accessibility & contrast

On white

7.16
#456012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#456012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #456012
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456012#FFFFFF#000000##FFFFFF
##4560121.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#485B51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #456012;
/* rgb */ color: rgb(69, 96, 18);
/* oklch */ color: oklch(45.1% 0.107 127.4);
Tailwind
colors: {
  custom: {
    50: '#7c8d57',
    500: '#456012',
    950: '#000000',
  },
}
SCSS
$custom: #456012;
$custom-light: #7c8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#456012",
  "rgb": {
    "r": 69,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 80.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.10677,
    "h": 127.4
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#456012
secondary
#583698
accent
#3DEB79
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #456012

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

Preview Lab → · Contrast checker → · Palette generator →

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