#456317#456317

#456317 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.0% C 0.108 H 128.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#456317
RGBrgb(69, 99, 23)
HSLhsl(84, 62%, 24%)
HSVhsv(84, 77%, 39%)
CMYKcmyk(30.3%, 0%, 76.8%, 61.2%)
CIE-LABlab(38.29, -23.72, 37.40)
CIE-LCHlch(38.29, 44.28, 122.38°)
OKLaboklab(46% -0.0676 0.0838)
OKLCHoklch(46% 0.108 128.9)
XYZxyz(7.0707, 10.2506, 2.4165)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456317 #351763
analogous
#635B17 #456317 #1F6317
triadic
#456317 #174563 #631745
tetradic
#456317 #17635B #351763 #63171F
square
#456317 #17635B #351763 #63171F
split-complementary
#456317 #171F63 #5B1763
monochromatic
#111906 #22310B #456317 #689523 #8AC62E

Accessibility & contrast

On white

6.88
#456317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #456317
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456317#FFFFFF#000000##FFFFFF
##4563171.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #456317;
/* rgb */ color: rgb(69, 99, 23);
/* oklch */ color: oklch(46.0% 0.108 128.9);
Tailwind
colors: {
  custom: {
    50: '#7c8f5a',
    500: '#456317',
    950: '#000000',
  },
}
SCSS
$custom: #456317;
$custom-light: #7c8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#456317",
  "rgb": {
    "r": 69,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 83.684,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.1077,
    "h": 128.9
  },
  "luminance": 0.10251
}

Semantic roles & 50–950 ramp

primary
#456317
secondary
#613C9A
accent
#42E583
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456317

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

Preview Lab → · Contrast checker → · Palette generator →

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