#456217#456217

#456217 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.7% C 0.106 H 128.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#456217
RGBrgb(69, 98, 23)
HSLhsl(83, 62%, 24%)
HSVhsv(83, 77%, 38%)
CMYKcmyk(29.6%, 0%, 76.5%, 61.6%)
CIE-LABlab(37.95, -23.21, 37.06)
CIE-LCHlch(37.95, 43.73, 122.06°)
OKLaboklab(45.73% -0.0663 0.0831)
OKLCHoklch(45.73% 0.106 128.6)
XYZxyz(6.9766, 10.0623, 2.3851)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456217 #341762
analogous
#625917 #456217 #1F6217
triadic
#456217 #174562 #621745
tetradic
#456217 #176259 #341762 #62171F
square
#456217 #176259 #341762 #62171F
split-complementary
#456217 #171F62 #591762
monochromatic
#111906 #22300B #456217 #689423 #8BC52E

Accessibility & contrast

On white

6.97
#456217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#456217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456217
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456217#FFFFFF#000000##FFFFFF
##4562171.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#475D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #456217;
/* rgb */ color: rgb(69, 98, 23);
/* oklch */ color: oklch(45.7% 0.106 128.6);
Tailwind
colors: {
  custom: {
    50: '#7c8f5a',
    500: '#456217',
    950: '#000000',
  },
}
SCSS
$custom: #456217;
$custom-light: #7c8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#456217",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 83.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.10629,
    "h": 128.6
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#456217
secondary
#603C99
accent
#43E582
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456217

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

Preview Lab → · Contrast checker → · Palette generator →

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