#456812#456812

#456812 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.3% C 0.118 H 130.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#456812
RGBrgb(69, 104, 18)
HSLhsl(84, 70%, 24%)
HSVhsv(84, 83%, 41%)
CMYKcmyk(33.7%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.93, -26.49, 40.83)
CIE-LCHlch(39.93, 48.67, 122.98°)
OKLaboklab(47.33% -0.0756 0.0901)
OKLCHoklch(47.33% 0.118 130)
XYZxyz(7.5137, 11.2093, 2.3399)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456812 #351268
analogous
#686012 #456812 #1A6812
triadic
#456812 #124568 #681245
tetradic
#456812 #126860 #351268 #68121A
square
#456812 #126860 #351268 #68121A
split-complementary
#456812 #121A68 #601268
monochromatic
#111A05 #223409 #456812 #689C1B #8AD024

Accessibility & contrast

On white

6.48
#456812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#456812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456812
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456812#FFFFFF#000000##FFFFFF
##4568121.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#476358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #456812;
/* rgb */ color: rgb(69, 104, 18);
/* oklch */ color: oklch(47.3% 0.118 130.0);
Tailwind
colors: {
  custom: {
    50: '#7c9358',
    500: '#456812',
    950: '#000000',
  },
}
SCSS
$custom: #456812;
$custom-light: #7c9358;
$custom-dark: #000000;
JSON
{
  "hex": "#456812",
  "rgb": {
    "r": 69,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 84.419,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.11765,
    "h": 130
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#456812
secondary
#6136A0
accent
#3BED83
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456812

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

Preview Lab → · Contrast checker → · Palette generator →

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