#949C27#949C27

#949C27 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.135 H 113.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#949C27
RGBrgb(148, 156, 39)
HSLhsl(64, 60%, 38%)
HSVhsv(64, 75%, 61%)
CMYKcmyk(5.1%, 0%, 75%, 38.8%)
CIE-LABlab(61.84, -17.46, 56.20)
CIE-LCHlch(61.84, 58.85, 107.26°)
OKLaboklab(66.51% -0.0538 0.1239)
OKLCHoklch(66.51% 0.135 113.5)
XYZxyz(24.4682, 30.2198, 6.4631)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C27 #2F279C
analogous
#9C6A27 #949C27 #599C27
triadic
#949C27 #27949C #9C2794
tetradic
#949C27 #279C6A #2F279C #9C2759
square
#949C27 #279C6A #2F279C #9C2759
split-complementary
#949C27 #27599C #6A279C
monochromatic
#373A0F #666B1B #949C27 #C2CC34 #D1D865

Accessibility & contrast

On white

2.98
#949C27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#949C27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949C27
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949C27#FFFFFF#000000##000000
##949C271.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940D
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#9E9286
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c27;
/* rgb */ color: rgb(148, 156, 39);
/* oklch */ color: oklch(66.5% 0.135 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96a',
    500: '#949c27',
    950: '#000000',
  },
}
SCSS
$custom: #949c27;
$custom-light: #b7b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#949c27",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 64.103,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66508,
    "c": 0.13504,
    "h": 113.5
  },
  "luminance": 0.30219
}

Semantic roles & 50–950 ramp

primary
#949C27
secondary
#6761BE
accent
#45E34F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949C27

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

Preview Lab → · Contrast checker → · Palette generator →

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