#95A22C#95A22C

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

Color values

HEX#95A22C
RGBrgb(149, 162, 44)
HSLhsl(67, 57%, 40%)
HSVhsv(67, 73%, 64%)
CMYKcmyk(8%, 0%, 72.8%, 36.5%)
CIE-LABlab(63.68, -19.84, 56.20)
CIE-LCHlch(63.68, 59.60, 109.45°)
OKLaboklab(68.01% -0.06 0.1247)
OKLCHoklch(68.01% 0.138 115.7)
XYZxyz(25.7701, 32.4125, 7.2811)
Luminance0.3241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A22C #392CA2
analogous
#A2742C #95A22C #5AA22C
triadic
#95A22C #2C95A2 #A22C95
tetradic
#95A22C #2CA274 #392CA2 #A22C5A
square
#95A22C #2CA274 #392CA2 #A22C5A
split-complementary
#95A22C #2C5AA2 #742CA2
monochromatic
#3C4212 #69721F #95A22C #BCCB40 #CDD870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##95A22C#FFFFFF#000000##000000
##95A22C1.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)
#AE9A16
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#9F998B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #95a22c;
/* rgb */ color: rgb(149, 162, 44);
/* oklch */ color: oklch(68.0% 0.138 115.7);
Tailwind
colors: {
  custom: {
    50: '#b7bd6e',
    500: '#95a22c',
    950: '#000000',
  },
}
SCSS
$custom: #95a22c;
$custom-light: #b7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#95a22c",
  "rgb": {
    "r": 149,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 66.61,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68011,
    "c": 0.13842,
    "h": 115.7
  },
  "luminance": 0.32412
}

Semantic roles & 50–950 ramp

primary
#95A22C
secondary
#746ABF
accent
#47E158
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #95A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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