#95A51F#95A51F

#95A51F is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.6% C 0.149 H 116.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#95A51F
RGBrgb(149, 165, 31)
HSLhsl(67, 68%, 38%)
HSVhsv(67, 81%, 65%)
CMYKcmyk(9.7%, 0%, 81.2%, 35.3%)
CIE-LABlab(64.48, -21.93, 61.13)
CIE-LCHlch(64.48, 64.94, 109.73°)
OKLaboklab(68.63% -0.0668 0.1329)
OKLCHoklch(68.63% 0.149 116.7)
XYZxyz(26.0976, 33.3991, 6.3679)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A51F #2F1FA5
analogous
#A5721F #95A51F #52A51F
triadic
#95A51F #1F95A5 #A51F95
tetradic
#95A51F #1FA572 #2F1FA5 #A51F52
square
#95A51F #1FA572 #2F1FA5 #A51F52
split-complementary
#95A51F #1F52A5 #721FA5
monochromatic
#383E0C #667115 #95A51F #C2D72A #D1E15E

Accessibility & contrast

On white

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

On black

7.68
#95A51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A51F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A51F#FFFFFF#000000##000000
##95A51F1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#9F9B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #95a51f;
/* rgb */ color: rgb(149, 165, 31);
/* oklch */ color: oklch(68.6% 0.149 116.7);
Tailwind
colors: {
  custom: {
    50: '#b8bf68',
    500: '#95a51f',
    950: '#000000',
  },
}
SCSS
$custom: #95a51f;
$custom-light: #b8bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#95a51f",
  "rgb": {
    "r": 149,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 67.164,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68633,
    "c": 0.14874,
    "h": 116.7
  },
  "luminance": 0.33399
}

Semantic roles & 50–950 ramp

primary
#95A51F
secondary
#675BC5
accent
#3DEB51
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #95A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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