#456215#456215

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

Color values

HEX#456215
RGBrgb(69, 98, 21)
HSLhsl(83, 65%, 23%)
HSVhsv(83, 79%, 38%)
CMYKcmyk(29.6%, 0%, 78.6%, 61.6%)
CIE-LABlab(37.94, -23.34, 37.85)
CIE-LCHlch(37.94, 44.47, 121.67°)
OKLaboklab(45.71% -0.0668 0.0844)
OKLCHoklch(45.71% 0.108 128.4)
XYZxyz(6.9573, 10.0545, 2.2835)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456215 #321562
analogous
#625815 #456215 #1F6215
triadic
#456215 #154562 #621545
tetradic
#456215 #156258 #321562 #62151F
square
#456215 #156258 #321562 #62151F
split-complementary
#456215 #151F62 #581562
monochromatic
#121905 #22300A #456215 #689420 #8CC72B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##456215#FFFFFF#000000##FFFFFF
##4562151.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)
#675B06
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#485D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #456215;
/* rgb */ color: rgb(69, 98, 21);
/* oklch */ color: oklch(45.7% 0.108 128.4);
Tailwind
colors: {
  custom: {
    50: '#7c8f59',
    500: '#456215',
    950: '#000000',
  },
}
SCSS
$custom: #456215;
$custom-light: #7c8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#456215",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 82.597,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.10765,
    "h": 128.4
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#456215
secondary
#5E3A99
accent
#40E87F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456215

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

Preview Lab → · Contrast checker → · Palette generator →

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