#456912#456912

#456912 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.6% C 0.119 H 130.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#456912
RGBrgb(69, 105, 18)
HSLhsl(85, 71%, 24%)
HSVhsv(85, 83%, 41%)
CMYKcmyk(34.3%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.27, -26.97, 41.14)
CIE-LCHlch(40.27, 49.19, 123.25°)
OKLaboklab(47.6% -0.0769 0.0908)
OKLCHoklch(47.6% 0.119 130.3)
XYZxyz(7.6150, 11.4118, 2.3736)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456912 #361269
analogous
#696212 #456912 #196912
triadic
#456912 #124569 #691245
tetradic
#456912 #126962 #361269 #691219
square
#456912 #126962 #361269 #691219
split-complementary
#456912 #121969 #621269
monochromatic
#111A04 #233509 #456912 #679D1B #8AD124

Accessibility & contrast

On white

6.40
#456912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#456912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456912
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456912#FFFFFF#000000##FFFFFF
##4569121.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#476459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #456912;
/* rgb */ color: rgb(69, 105, 18);
/* oklch */ color: oklch(47.6% 0.119 130.3);
Tailwind
colors: {
  custom: {
    50: '#7c9458',
    500: '#456912',
    950: '#000000',
  },
}
SCSS
$custom: #456912;
$custom-light: #7c9458;
$custom-dark: #000000;
JSON
{
  "hex": "#456912",
  "rgb": {
    "r": 69,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 84.828,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.11898,
    "h": 130.3
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#456912
secondary
#6236A1
accent
#3AED84
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456912

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

Preview Lab → · Contrast checker → · Palette generator →

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