#95A71F#95A71F

#95A71F is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.1% C 0.151 H 117.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#95A71F
RGBrgb(149, 167, 31)
HSLhsl(68, 69%, 39%)
HSVhsv(68, 81%, 65%)
CMYKcmyk(10.8%, 0%, 81.4%, 34.5%)
CIE-LABlab(65.06, -22.93, 61.64)
CIE-LCHlch(65.06, 65.77, 110.40°)
OKLaboklab(69.1% -0.0696 0.134)
OKLCHoklch(69.1% 0.151 117.4)
XYZxyz(26.4612, 34.1262, 6.4891)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A71F #311FA7
analogous
#A7751F #95A71F #51A71F
triadic
#95A71F #1F95A7 #A71F95
tetradic
#95A71F #1FA775 #311FA7 #A71F51
square
#95A71F #1FA775 #311FA7 #A71F51
split-complementary
#95A71F #1F51A7 #751FA7
monochromatic
#39400C #677315 #95A71F #C1D82B #D0E15F

Accessibility & contrast

On white

2.68
#95A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#95A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A71F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A71F#FFFFFF#000000##000000
##95A71F1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B19F2D
Tritanopia (blue-blind)
#9F9D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #95a71f;
/* rgb */ color: rgb(149, 167, 31);
/* oklch */ color: oklch(69.1% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#b8c168',
    500: '#95a71f',
    950: '#000000',
  },
}
SCSS
$custom: #95a71f;
$custom-light: #b8c168;
$custom-dark: #000000;
JSON
{
  "hex": "#95a71f",
  "rgb": {
    "r": 149,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 67.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69099,
    "c": 0.15097,
    "h": 117.4
  },
  "luminance": 0.34126
}

Semantic roles & 50–950 ramp

primary
#95A71F
secondary
#6A5CC6
accent
#3CEC53
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #95A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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