#456915#456915

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

Color values

HEX#456915
RGBrgb(69, 105, 21)
HSLhsl(86, 67%, 25%)
HSVhsv(86, 80%, 41%)
CMYKcmyk(34.3%, 0%, 80%, 58.8%)
CIE-LABlab(40.28, -26.80, 40.11)
CIE-LCHlch(40.28, 48.24, 123.75°)
OKLaboklab(47.62% -0.0762 0.0891)
OKLCHoklch(47.62% 0.117 130.5)
XYZxyz(7.6411, 11.4222, 2.5114)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456915 #391569
analogous
#696315 #456915 #1B6915
triadic
#456915 #154569 #691545
tetradic
#456915 #156963 #391569 #69151B
square
#456915 #156963 #391569 #69151B
split-complementary
#456915 #151B69 #631569
monochromatic
#111A05 #23360B #456915 #679C1F #88CF29

Accessibility & contrast

On white

6.39
#456915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #456915
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456915#FFFFFF#000000##FFFFFF
##4569151.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #456915;
/* rgb */ color: rgb(69, 105, 21);
/* oklch */ color: oklch(47.6% 0.117 130.5);
Tailwind
colors: {
  custom: {
    50: '#7c945a',
    500: '#456915',
    950: '#000000',
  },
}
SCSS
$custom: #456915;
$custom-light: #7c945a;
$custom-dark: #000000;
JSON
{
  "hex": "#456915",
  "rgb": {
    "r": 69,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 85.714,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.11728,
    "h": 130.5
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#456915
secondary
#663AA0
accent
#3EEA88
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456915

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

Preview Lab → · Contrast checker → · Palette generator →

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