#468221#468221

#468221 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.143 H 136.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#468221
RGBrgb(70, 130, 33)
HSLhsl(97, 60%, 32%)
HSVhsv(97, 75%, 51%)
CMYKcmyk(46.2%, 0%, 74.6%, 49%)
CIE-LABlab(48.73, -36.97, 43.90)
CIE-LCHlch(48.73, 57.39, 130.10°)
OKLaboklab(54.57% -0.1028 0.099)
OKLCHoklch(54.57% 0.143 136.1)
XYZxyz(10.7826, 17.3765, 4.2244)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468221 #5D2182
analogous
#778221 #468221 #21822C
triadic
#468221 #214682 #822146
tetradic
#468221 #217782 #5D2182 #822C21
square
#468221 #217782 #5D2182 #822C21
split-complementary
#468221 #2C2182 #822177
monochromatic
#112008 #2C5115 #468221 #60B32D #7FD24C

Accessibility & contrast

On white

4.69
#468221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#468221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #468221
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468221#FFFFFF#000000##FFFFFF
##4682211.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877710
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#447D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #468221;
/* rgb */ color: rgb(70, 130, 33);
/* oklch */ color: oklch(54.6% 0.143 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa763',
    500: '#468221',
    950: '#000000',
  },
}
SCSS
$custom: #468221;
$custom-light: #7fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#468221",
  "rgb": {
    "r": 70,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 97.113,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.14274,
    "h": 136.1
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#468221
secondary
#8C4AB4
accent
#45E3A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #468221

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

Preview Lab → · Contrast checker → · Palette generator →

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