#95A231#95A231

#95A231 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.0% C 0.135 H 115.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#95A231
RGBrgb(149, 162, 49)
HSLhsl(67, 54%, 41%)
HSVhsv(67, 70%, 64%)
CMYKcmyk(8%, 0%, 69.8%, 36.5%)
CIE-LABlab(63.72, -19.57, 54.35)
CIE-LCHlch(63.72, 57.77, 109.80°)
OKLaboklab(68.05% -0.0588 0.1217)
OKLCHoklch(68.05% 0.135 115.8)
XYZxyz(25.8698, 32.4524, 7.8063)
Luminance0.3245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A231 #3E31A2
analogous
#A27731 #95A231 #5DA231
triadic
#95A231 #3195A2 #A23195
tetradic
#95A231 #31A277 #3E31A2 #A2315D
square
#95A231 #31A277 #3E31A2 #A2315D
split-complementary
#95A231 #315DA2 #7731A2
monochromatic
#3F4415 #6A7323 #95A231 #B9C848 #CBD677

Accessibility & contrast

On white

2.80
#95A231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#95A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A231
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A231#FFFFFF#000000##000000
##95A2311.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1F
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#9E998C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #95a231;
/* rgb */ color: rgb(149, 162, 49);
/* oklch */ color: oklch(68.0% 0.135 115.8);
Tailwind
colors: {
  custom: {
    50: '#b7bd70',
    500: '#95a231',
    950: '#000000',
  },
}
SCSS
$custom: #95a231;
$custom-light: #b7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#95a231",
  "rgb": {
    "r": 149,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 66.903,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68048,
    "c": 0.13514,
    "h": 115.8
  },
  "luminance": 0.32452
}

Semantic roles & 50–950 ramp

primary
#95A231
secondary
#7A71BE
accent
#4BDD5C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #95A231

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

Preview Lab → · Contrast checker → · Palette generator →

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