#899227#899227

#899227 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.3% C 0.127 H 114.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#899227
RGBrgb(137, 146, 39)
HSLhsl(65, 58%, 36%)
HSVhsv(65, 73%, 57%)
CMYKcmyk(6.2%, 0%, 73.3%, 42.7%)
CIE-LABlab(58.06, -17.13, 52.27)
CIE-LCHlch(58.06, 55.01, 108.14°)
OKLaboklab(63.26% -0.0522 0.116)
OKLCHoklch(63.26% 0.127 114.3)
XYZxyz(20.9622, 26.0230, 5.8377)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899227 #302792
analogous
#926627 #899227 #549227
triadic
#899227 #278992 #922789
tetradic
#899227 #279266 #302792 #922754
square
#899227 #279266 #302792 #922754
split-complementary
#899227 #275492 #662792
monochromatic
#2E310D #5C621A #899227 #B6C234 #CAD45F

Accessibility & contrast

On white

3.38
#899227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#899227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899227
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899227#FFFFFF#000000##000000
##8992271.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B13
Deuteranopia (green-blind)
#9C8D30
Tritanopia (blue-blind)
#92897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #899227;
/* rgb */ color: rgb(137, 146, 39);
/* oklch */ color: oklch(63.3% 0.127 114.3);
Tailwind
colors: {
  custom: {
    50: '#aeb169',
    500: '#899227',
    950: '#000000',
  },
}
SCSS
$custom: #899227;
$custom-light: #aeb169;
$custom-dark: #000000;
JSON
{
  "hex": "#899227",
  "rgb": {
    "r": 137,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 65.047,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.12717,
    "h": 114.3
  },
  "luminance": 0.26023
}

Semantic roles & 50–950 ramp

primary
#899227
secondary
#635BBA
accent
#47E154
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #899227

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

Preview Lab → · Contrast checker → · Palette generator →

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