#95A531#95A531

#95A531 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.7% C 0.139 H 117.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#95A531
RGBrgb(149, 165, 49)
HSLhsl(68, 54%, 42%)
HSVhsv(68, 70%, 65%)
CMYKcmyk(9.7%, 0%, 70.3%, 35.3%)
CIE-LABlab(64.58, -21.08, 55.22)
CIE-LCHlch(64.58, 59.11, 110.90°)
OKLaboklab(68.74% -0.063 0.1235)
OKLCHoklch(68.74% 0.139 117)
XYZxyz(26.4045, 33.5219, 7.9845)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A531 #4131A5
analogous
#A57B31 #95A531 #5BA531
triadic
#95A531 #3195A5 #A53195
tetradic
#95A531 #31A57B #4131A5 #A5315B
square
#95A531 #31A57B #4131A5 #A5315B
split-complementary
#95A531 #315BA5 #7B31A5
monochromatic
#404715 #6A7623 #95A531 #B8C94A #CAD779

Accessibility & contrast

On white

2.73
#95A531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#95A531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A531
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A531#FFFFFF#000000##000000
##95A5311.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#AF9D3A
Tritanopia (blue-blind)
#9E9C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #95a531;
/* rgb */ color: rgb(149, 165, 49);
/* oklch */ color: oklch(68.7% 0.139 117.0);
Tailwind
colors: {
  custom: {
    50: '#b7bf71',
    500: '#95a531',
    950: '#000000',
  },
}
SCSS
$custom: #95a531;
$custom-light: #b7bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#95a531",
  "rgb": {
    "r": 149,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 68.276,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68744,
    "c": 0.13864,
    "h": 117
  },
  "luminance": 0.33522
}

Semantic roles & 50–950 ramp

primary
#95A531
secondary
#7D72C0
accent
#4ADE5F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #95A531

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

Preview Lab → · Contrast checker → · Palette generator →

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