#466227#466227

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

Color values

HEX#466227
RGBrgb(70, 98, 39)
HSLhsl(88, 43%, 27%)
HSVhsv(88, 60%, 38%)
CMYKcmyk(28.6%, 0%, 60.2%, 61.6%)
CIE-LABlab(38.17, -21.35, 29.79)
CIE-LCHlch(38.17, 36.65, 125.63°)
OKLaboklab(45.97% -0.0597 0.07)
OKLCHoklch(45.97% 0.092 130.5)
XYZxyz(7.2596, 10.1838, 3.5022)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466227 #432762
analogous
#626127 #466227 #286227
triadic
#466227 #274662 #622746
tetradic
#466227 #276261 #432762 #622728
square
#466227 #276261 #432762 #622728
split-complementary
#466227 #272862 #612762
monochromatic
#101609 #273616 #466227 #658E38 #84B84C

Accessibility & contrast

On white

6.92
#466227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#466227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #466227
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466227#FFFFFF#000000##FFFFFF
##4662271.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B21
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#475E55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #466227;
/* rgb */ color: rgb(70, 98, 39);
/* oklch */ color: oklch(46.0% 0.092 130.5);
Tailwind
colors: {
  custom: {
    50: '#7b8f63',
    500: '#466227',
    950: '#000000',
  },
}
SCSS
$custom: #466227;
$custom-light: #7b8f63;
$custom-dark: #000000;
JSON
{
  "hex": "#466227",
  "rgb": {
    "r": 70,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 88.475,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.09197,
    "h": 130.5
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#466227
secondary
#715095
accent
#55D391
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #466227

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

Preview Lab → · Contrast checker → · Palette generator →

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