#95A228#95A228

#95A228 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.0% C 0.141 H 115.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#95A228
RGBrgb(149, 162, 40)
HSLhsl(66, 60%, 40%)
HSVhsv(66, 75%, 64%)
CMYKcmyk(8%, 0%, 75.3%, 36.5%)
CIE-LABlab(63.66, -20.04, 57.59)
CIE-LCHlch(63.66, 60.98, 109.19°)
OKLaboklab(67.99% -0.0609 0.127)
OKLCHoklch(67.99% 0.141 115.6)
XYZxyz(25.6985, 32.3838, 6.9040)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A228 #3528A2
analogous
#A27228 #95A228 #58A228
triadic
#95A228 #2895A2 #A22895
tetradic
#95A228 #28A272 #3528A2 #A22858
square
#95A228 #28A272 #3528A2 #A22858
split-complementary
#95A228 #2858A2 #7228A2
monochromatic
#3B4010 #68711C #95A228 #BECE39 #CEDA6A

Accessibility & contrast

On white

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

On black

7.48
#95A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A228
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A228#FFFFFF#000000##000000
##95A2281.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990C
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#9F988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #95a228;
/* rgb */ color: rgb(149, 162, 40);
/* oklch */ color: oklch(68.0% 0.141 115.6);
Tailwind
colors: {
  custom: {
    50: '#b7bd6c',
    500: '#95a228',
    950: '#000000',
  },
}
SCSS
$custom: #95a228;
$custom-light: #b7bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#95a228",
  "rgb": {
    "r": 149,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 66.393,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67985,
    "c": 0.14082,
    "h": 115.6
  },
  "luminance": 0.32383
}

Semantic roles & 50–950 ramp

primary
#95A228
secondary
#6F65C1
accent
#44E455
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #95A228

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

Preview Lab → · Contrast checker → · Palette generator →

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