#91A228#91A228

#91A228 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.7% C 0.142 H 117.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#91A228
RGBrgb(145, 162, 40)
HSLhsl(68, 60%, 40%)
HSVhsv(68, 75%, 64%)
CMYKcmyk(10.5%, 0%, 75.3%, 36.5%)
CIE-LABlab(63.35, -21.77, 57.20)
CIE-LCHlch(63.35, 61.20, 110.84°)
OKLaboklab(67.66% -0.0655 0.1263)
OKLCHoklch(67.66% 0.142 117.4)
XYZxyz(24.9810, 32.0139, 6.8704)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91A228 #3928A2
analogous
#A27628 #91A228 #54A228
triadic
#91A228 #2891A2 #A22891
tetradic
#91A228 #28A276 #3928A2 #A22854
square
#91A228 #28A276 #3928A2 #A22854
split-complementary
#91A228 #2854A2 #7628A2
monochromatic
#394010 #65711C #91A228 #B9CE39 #CBDA6A

Accessibility & contrast

On white

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

On black

7.40
#91A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #91A228
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91A228#FFFFFF#000000##000000
##91A2281.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990C
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#9A998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #91a228;
/* rgb */ color: rgb(145, 162, 40);
/* oklch */ color: oklch(67.7% 0.142 117.4);
Tailwind
colors: {
  custom: {
    50: '#b5bd6c',
    500: '#91a228',
    950: '#000000',
  },
}
SCSS
$custom: #91a228;
$custom-light: #b5bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#91a228",
  "rgb": {
    "r": 145,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 68.361,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67664,
    "c": 0.14222,
    "h": 117.4
  },
  "luminance": 0.32014
}

Semantic roles & 50–950 ramp

primary
#91A228
secondary
#7265C1
accent
#44E45A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #91A228

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

Preview Lab → · Contrast checker → · Palette generator →

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