#95A42F#95A42F

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

Color values

HEX#95A42F
RGBrgb(149, 164, 47)
HSLhsl(68, 55%, 41%)
HSVhsv(68, 71%, 64%)
CMYKcmyk(9.1%, 0%, 71.3%, 35.7%)
CIE-LABlab(64.28, -20.69, 55.68)
CIE-LCHlch(64.28, 59.40, 110.39°)
OKLaboklab(68.5% -0.0621 0.1242)
OKLCHoklch(68.5% 0.139 116.6)
XYZxyz(26.1836, 33.1461, 7.7073)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A42F #3E2FA4
analogous
#A4792F #95A42F #5BA42F
triadic
#95A42F #2F95A4 #A42F95
tetradic
#95A42F #2FA479 #3E2FA4 #A42F5B
square
#95A42F #2FA479 #3E2FA4 #A42F5B
split-complementary
#95A42F #2F5BA4 #792FA4
monochromatic
#3F4514 #6A7421 #95A42F #B9CA46 #CBD876

Accessibility & contrast

On white

2.75
#95A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#95A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A42F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A42F#FFFFFF#000000##000000
##95A42F1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#9E9B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #95a42f;
/* rgb */ color: rgb(149, 164, 47);
/* oklch */ color: oklch(68.5% 0.139 116.6);
Tailwind
colors: {
  custom: {
    50: '#b7be6f',
    500: '#95a42f',
    950: '#000000',
  },
}
SCSS
$custom: #95a42f;
$custom-light: #b7be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#95a42f",
  "rgb": {
    "r": 149,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 67.692,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.13881,
    "h": 116.6
  },
  "luminance": 0.33146
}

Semantic roles & 50–950 ramp

primary
#95A42F
secondary
#796FC0
accent
#49DF5C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #95A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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