#949D27#949D27

#949D27 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.7% C 0.136 H 113.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#949D27
RGBrgb(148, 157, 39)
HSLhsl(65, 60%, 38%)
HSVhsv(65, 75%, 62%)
CMYKcmyk(5.7%, 0%, 75.2%, 38.4%)
CIE-LABlab(62.13, -17.97, 56.47)
CIE-LCHlch(62.13, 59.26, 107.66°)
OKLaboklab(66.74% -0.0552 0.1244)
OKLCHoklch(66.74% 0.136 113.9)
XYZxyz(24.6367, 30.5568, 6.5193)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D27 #30279D
analogous
#9D6B27 #949D27 #599D27
triadic
#949D27 #27949D #9D2794
tetradic
#949D27 #279D6B #30279D #9D2759
square
#949D27 #279D6B #30279D #9D2759
split-complementary
#949D27 #27599D #6B279D
monochromatic
#383B0F #666C1B #949D27 #C1CD35 #D0D966

Accessibility & contrast

On white

2.95
#949D27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#949D27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D27
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D27#FFFFFF#000000##000000
##949D271.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950D
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#9E9387
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d27;
/* rgb */ color: rgb(148, 157, 39);
/* oklch */ color: oklch(66.7% 0.136 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b96b',
    500: '#949d27',
    950: '#000000',
  },
}
SCSS
$custom: #949d27;
$custom-light: #b7b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#949d27",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 64.576,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.13614,
    "h": 113.9
  },
  "luminance": 0.30556
}

Semantic roles & 50–950 ramp

primary
#949D27
secondary
#6861BF
accent
#44E351
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949D27

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

Preview Lab → · Contrast checker → · Palette generator →

#949D27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva