#456815#456815

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

Color values

HEX#456815
RGBrgb(69, 104, 21)
HSLhsl(85, 66%, 25%)
HSVhsv(85, 80%, 41%)
CMYKcmyk(33.7%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.95, -26.32, 39.79)
CIE-LCHlch(39.95, 47.70, 123.48°)
OKLaboklab(47.34% -0.0749 0.0885)
OKLCHoklch(47.34% 0.116 130.2)
XYZxyz(7.5399, 11.2197, 2.4777)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456815 #381568
analogous
#686215 #456815 #1C6815
triadic
#456815 #154568 #681545
tetradic
#456815 #156862 #381568 #68151C
square
#456815 #156862 #381568 #68151C
split-complementary
#456815 #151C68 #621568
monochromatic
#111905 #23350B #456815 #679B1F #89CE2A

Accessibility & contrast

On white

6.47
#456815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #456815
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456815#FFFFFF#000000##FFFFFF
##4568151.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #456815;
/* rgb */ color: rgb(69, 104, 21);
/* oklch */ color: oklch(47.3% 0.116 130.2);
Tailwind
colors: {
  custom: {
    50: '#7c9359',
    500: '#456815',
    950: '#000000',
  },
}
SCSS
$custom: #456815;
$custom-light: #7c9359;
$custom-dark: #000000;
JSON
{
  "hex": "#456815",
  "rgb": {
    "r": 69,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 85.301,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.11591,
    "h": 130.2
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#456815
secondary
#653A9F
accent
#3EE987
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456815

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

Preview Lab → · Contrast checker → · Palette generator →

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