#456315#456315

#456315 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.0% C 0.109 H 128.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#456315
RGBrgb(69, 99, 21)
HSLhsl(83, 65%, 24%)
HSVhsv(83, 79%, 39%)
CMYKcmyk(30.3%, 0%, 78.8%, 61.2%)
CIE-LABlab(38.27, -23.85, 38.17)
CIE-LCHlch(38.27, 45.01, 122.00°)
OKLaboklab(45.98% -0.0682 0.0851)
OKLCHoklch(45.98% 0.109 128.7)
XYZxyz(7.0514, 10.2429, 2.3149)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456315 #331563
analogous
#635A15 #456315 #1E6315
triadic
#456315 #154563 #631545
tetradic
#456315 #15635A #331563 #63151E
square
#456315 #15635A #331563 #63151E
split-complementary
#456315 #151E63 #5A1563
monochromatic
#121905 #22310A #456315 #689520 #8BC82A

Accessibility & contrast

On white

6.89
#456315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#456315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456315
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456315#FFFFFF#000000##FFFFFF
##4563151.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B05
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#475E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #456315;
/* rgb */ color: rgb(69, 99, 21);
/* oklch */ color: oklch(46.0% 0.109 128.7);
Tailwind
colors: {
  custom: {
    50: '#7c8f59',
    500: '#456315',
    950: '#000000',
  },
}
SCSS
$custom: #456315;
$custom-light: #7c8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#456315",
  "rgb": {
    "r": 69,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 83.077,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.10904,
    "h": 128.7
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#456315
secondary
#5F3A9A
accent
#40E880
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456315

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

Preview Lab → · Contrast checker → · Palette generator →

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