#456412#456412

#456412 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.2% C 0.112 H 128.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#456412
RGBrgb(69, 100, 18)
HSLhsl(83, 69%, 23%)
HSVhsv(83, 82%, 39%)
CMYKcmyk(31%, 0%, 82%, 60.8%)
CIE-LABlab(38.59, -24.53, 39.58)
CIE-LCHlch(38.59, 46.56, 121.79°)
OKLaboklab(46.23% -0.0703 0.0875)
OKLCHoklch(46.23% 0.112 128.8)
XYZxyz(7.1206, 10.4230, 2.2088)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456412 #311264
analogous
#645A12 #456412 #1C6412
triadic
#456412 #124564 #641245
tetradic
#456412 #12645A #311264 #64121C
square
#456412 #12645A #311264 #64121C
split-complementary
#456412 #121C64 #5A1264
monochromatic
#121A05 #213009 #456412 #69981B #8DCC25

Accessibility & contrast

On white

6.81
#456412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#456412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456412
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456412#FFFFFF#000000##FFFFFF
##4564121.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#475F55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #456412;
/* rgb */ color: rgb(69, 100, 18);
/* oklch */ color: oklch(46.2% 0.112 128.8);
Tailwind
colors: {
  custom: {
    50: '#7c9058',
    500: '#456412',
    950: '#000000',
  },
}
SCSS
$custom: #456412;
$custom-light: #7c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#456412",
  "rgb": {
    "r": 69,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 82.683,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.11224,
    "h": 128.8
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#456412
secondary
#5C369C
accent
#3BEC7E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #456412

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

Preview Lab → · Contrast checker → · Palette generator →

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