#899A28#899A28

#899A28 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.1% C 0.136 H 117.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#899A28
RGBrgb(137, 154, 40)
HSLhsl(69, 59%, 38%)
HSVhsv(69, 74%, 60%)
CMYKcmyk(11%, 0%, 74%, 39.6%)
CIE-LABlab(60.41, -21.18, 54.18)
CIE-LCHlch(60.41, 58.17, 111.35°)
OKLaboklab(65.15% -0.0634 0.1201)
OKLCHoklch(65.15% 0.136 117.8)
XYZxyz(22.2556, 28.5830, 6.3517)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899A28 #39289A
analogous
#9A7228 #899A28 #509A28
triadic
#899A28 #28899A #9A2889
tetradic
#899A28 #289A72 #39289A #9A2850
square
#899A28 #289A72 #39289A #9A2850
split-complementary
#899A28 #28509A #72289A
monochromatic
#33390F #5E691B #899A28 #B4CA35 #C6D765

Accessibility & contrast

On white

3.13
#899A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#899A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899A28
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899A28#FFFFFF#000000##000000
##899A281.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59111
Deuteranopia (green-blind)
#A39232
Tritanopia (blue-blind)
#929184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #899a28;
/* rgb */ color: rgb(137, 154, 40);
/* oklch */ color: oklch(65.1% 0.136 117.8);
Tailwind
colors: {
  custom: {
    50: '#afb76b',
    500: '#899a28',
    950: '#000000',
  },
}
SCSS
$custom: #899a28;
$custom-light: #afb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#899a28",
  "rgb": {
    "r": 137,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 68.947,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65147,
    "c": 0.13584,
    "h": 117.8
  },
  "luminance": 0.28583
}

Semantic roles & 50–950 ramp

primary
#899A28
secondary
#6F61BD
accent
#46E25D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #899A28

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

Preview Lab → · Contrast checker → · Palette generator →

#899A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva