#899226#899226

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

Color values

HEX#899226
RGBrgb(137, 146, 38)
HSLhsl(65, 59%, 36%)
HSVhsv(65, 74%, 57%)
CMYKcmyk(6.2%, 0%, 74%, 42.7%)
CIE-LABlab(58.05, -17.18, 52.63)
CIE-LCHlch(58.05, 55.37, 108.08°)
OKLaboklab(63.25% -0.0525 0.1165)
OKLCHoklch(63.25% 0.128 114.2)
XYZxyz(20.9459, 26.0165, 5.7516)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899226 #2F2692
analogous
#926526 #899226 #539226
triadic
#899226 #268992 #922689
tetradic
#899226 #269265 #2F2692 #922653
square
#899226 #269265 #2F2692 #922653
split-complementary
#899226 #265392 #652692
monochromatic
#2E310D #5B6119 #899226 #B7C333 #CBD55D

Accessibility & contrast

On white

3.39
#899226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##899226#FFFFFF#000000##000000
##8992261.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B11
Deuteranopia (green-blind)
#9D8C2F
Tritanopia (blue-blind)
#92897D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #899226;
/* rgb */ color: rgb(137, 146, 38);
/* oklch */ color: oklch(63.2% 0.128 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb169',
    500: '#899226',
    950: '#000000',
  },
}
SCSS
$custom: #899226;
$custom-light: #afb169;
$custom-dark: #000000;
JSON
{
  "hex": "#899226",
  "rgb": {
    "r": 137,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 65,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63249,
    "c": 0.12781,
    "h": 114.2
  },
  "luminance": 0.26016
}

Semantic roles & 50–950 ramp

primary
#899226
secondary
#625ABA
accent
#46E253
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #899226

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

Preview Lab → · Contrast checker → · Palette generator →

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