#95A221#95A221

#95A221 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 67.9% C 0.145 H 115.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#95A221
RGBrgb(149, 162, 33)
HSLhsl(66, 66%, 38%)
HSVhsv(66, 80%, 64%)
CMYKcmyk(8%, 0%, 79.6%, 36.5%)
CIE-LABlab(63.62, -20.34, 59.79)
CIE-LCHlch(63.62, 63.16, 108.79°)
OKLaboklab(67.94% -0.0623 0.1304)
OKLCHoklch(67.94% 0.145 115.5)
XYZxyz(25.5900, 32.3405, 6.3328)
Luminance0.3234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A221 #2E21A2
analogous
#A26F21 #95A221 #54A221
triadic
#95A221 #2195A2 #A22195
tetradic
#95A221 #21A26F #2E21A2 #A22154
square
#95A221 #21A26F #2E21A2 #A22154
split-complementary
#95A221 #2154A2 #6F21A2
monochromatic
#373C0C #666F17 #95A221 #C3D42C #D2DE5F

Accessibility & contrast

On white

2.81
#95A221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#95A221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A221
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A221#FFFFFF#000000##000000
##95A2211.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#9F988A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #95a221;
/* rgb */ color: rgb(149, 162, 33);
/* oklch */ color: oklch(67.9% 0.145 115.5);
Tailwind
colors: {
  custom: {
    50: '#b8bd69',
    500: '#95a221',
    950: '#000000',
  },
}
SCSS
$custom: #95a221;
$custom-light: #b8bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#95a221",
  "rgb": {
    "r": 149,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 66.047,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67945,
    "c": 0.14451,
    "h": 115.5
  },
  "luminance": 0.3234
}

Semantic roles & 50–950 ramp

primary
#95A221
secondary
#665CC3
accent
#3FE950
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #95A221

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

Preview Lab → · Contrast checker → · Palette generator →

#95A221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva