#90A228#90A228

#90A228 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.6% C 0.143 H 117.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#90A228
RGBrgb(144, 162, 40)
HSLhsl(69, 60%, 40%)
HSVhsv(69, 75%, 64%)
CMYKcmyk(11.1%, 0%, 75.3%, 36.5%)
CIE-LABlab(63.28, -22.20, 57.10)
CIE-LCHlch(63.28, 61.26, 111.24°)
OKLaboklab(67.58% -0.0666 0.1261)
OKLCHoklch(67.58% 0.143 117.8)
XYZxyz(24.8055, 31.9234, 6.8622)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90A228 #3A28A2
analogous
#A27728 #90A228 #53A228
triadic
#90A228 #2890A2 #A22890
tetradic
#90A228 #28A277 #3A28A2 #A22853
square
#90A228 #28A277 #3A28A2 #A22853
split-complementary
#90A228 #2853A2 #7728A2
monochromatic
#394010 #64711C #90A228 #B8CE39 #CADA6A

Accessibility & contrast

On white

2.84
#90A228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#90A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #90A228
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90A228#FFFFFF#000000##000000
##90A2281.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990D
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#99998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #90a228;
/* rgb */ color: rgb(144, 162, 40);
/* oklch */ color: oklch(67.6% 0.143 117.8);
Tailwind
colors: {
  custom: {
    50: '#b4bd6c',
    500: '#90a228',
    950: '#000000',
  },
}
SCSS
$custom: #90a228;
$custom-light: #b4bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#90a228",
  "rgb": {
    "r": 144,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 68.852,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67585,
    "c": 0.14258,
    "h": 117.8
  },
  "luminance": 0.31923
}

Semantic roles & 50–950 ramp

primary
#90A228
secondary
#7365C1
accent
#44E45C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #90A228

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

Preview Lab → · Contrast checker → · Palette generator →

#90A228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva