#95A42A#95A42A

#95A42A is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.142 H 116.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#95A42A
RGBrgb(149, 164, 42)
HSLhsl(67, 59%, 40%)
HSVhsv(67, 74%, 64%)
CMYKcmyk(9.1%, 0%, 74.4%, 35.7%)
CIE-LABlab(64.25, -20.95, 57.46)
CIE-LCHlch(64.25, 61.16, 110.04°)
OKLaboklab(68.46% -0.0633 0.127)
OKLCHoklch(68.46% 0.142 116.5)
XYZxyz(26.0885, 33.1080, 7.2062)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A42A #392AA4
analogous
#A4762A #95A42A #58A42A
triadic
#95A42A #2A95A4 #A42A95
tetradic
#95A42A #2AA476 #392AA4 #A42A58
square
#95A42A #2AA476 #392AA4 #A42A58
split-complementary
#95A42A #2A58A4 #762AA4
monochromatic
#3C4311 #69731E #95A42A #BCCD3E #CDDA6E

Accessibility & contrast

On white

2.76
#95A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#95A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A42A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A42A#FFFFFF#000000##000000
##95A42A1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B10
Deuteranopia (green-blind)
#AE9D34
Tritanopia (blue-blind)
#9F9A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #95a42a;
/* rgb */ color: rgb(149, 164, 42);
/* oklch */ color: oklch(68.5% 0.142 116.5);
Tailwind
colors: {
  custom: {
    50: '#b7be6d',
    500: '#95a42a',
    950: '#000000',
  },
}
SCSS
$custom: #95a42a;
$custom-light: #b7be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#95a42a",
  "rgb": {
    "r": 149,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 67.377,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.14192,
    "h": 116.5
  },
  "luminance": 0.33108
}

Semantic roles & 50–950 ramp

primary
#95A42A
secondary
#7469C1
accent
#45E259
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #95A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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