#95A22A#95A22A

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

Color values

HEX#95A22A
RGBrgb(149, 162, 42)
HSLhsl(67, 59%, 40%)
HSVhsv(67, 74%, 64%)
CMYKcmyk(8%, 0%, 74.1%, 36.5%)
CIE-LABlab(63.67, -19.94, 56.91)
CIE-LCHlch(63.67, 60.30, 109.31°)
OKLaboklab(68% -0.0605 0.1259)
OKLCHoklch(68% 0.14 115.7)
XYZxyz(25.7334, 32.3978, 7.0878)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A22A #372AA2
analogous
#A2732A #95A22A #59A22A
triadic
#95A22A #2A95A2 #A22A95
tetradic
#95A22A #2AA273 #372AA2 #A22A59
square
#95A22A #2AA273 #372AA2 #A22A59
split-complementary
#95A22A #2A59A2 #732AA2
monochromatic
#3C4111 #68711D #95A22A #BDCD3D #CED96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##95A22A#FFFFFF#000000##000000
##95A22A1.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)
#AE9911
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#9F988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #95a22a;
/* rgb */ color: rgb(149, 162, 42);
/* oklch */ color: oklch(68.0% 0.140 115.7);
Tailwind
colors: {
  custom: {
    50: '#b7bd6d',
    500: '#95a22a',
    950: '#000000',
  },
}
SCSS
$custom: #95a22a;
$custom-light: #b7bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#95a22a",
  "rgb": {
    "r": 149,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 66.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.67998,
    "c": 0.13965,
    "h": 115.7
  },
  "luminance": 0.32397
}

Semantic roles & 50–950 ramp

primary
#95A22A
secondary
#7168C0
accent
#46E257
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #95A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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