#949F28#949F28

#949F28 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.138 H 114.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#949F28
RGBrgb(148, 159, 40)
HSLhsl(66, 60%, 39%)
HSVhsv(66, 75%, 62%)
CMYKcmyk(6.9%, 0%, 74.8%, 37.6%)
CIE-LABlab(62.71, -18.95, 56.67)
CIE-LCHlch(62.71, 59.76, 108.49°)
OKLaboklab(67.21% -0.0578 0.1251)
OKLCHoklch(67.21% 0.138 114.8)
XYZxyz(24.9946, 31.2458, 6.7214)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F28 #33289F
analogous
#9F6F28 #949F28 #599F28
triadic
#949F28 #28949F #9F2894
tetradic
#949F28 #289F6F #33289F #9F2859
square
#949F28 #289F6F #33289F #9F2859
split-complementary
#949F28 #28599F #6F289F
monochromatic
#393D0F #666E1C #949F28 #BFCD37 #CFD968

Accessibility & contrast

On white

2.90
#949F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#949F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F28
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F28#FFFFFF#000000##000000
##949F281.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970E
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f28;
/* rgb */ color: rgb(148, 159, 40);
/* oklch */ color: oklch(67.2% 0.138 114.8);
Tailwind
colors: {
  custom: {
    50: '#b7bb6b',
    500: '#949f28',
    950: '#000000',
  },
}
SCSS
$custom: #949f28;
$custom-light: #b7bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#949f28",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 65.546,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67208,
    "c": 0.13777,
    "h": 114.8
  },
  "luminance": 0.31245
}

Semantic roles & 50–950 ramp

primary
#949F28
secondary
#6C64BF
accent
#45E353
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949F28

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

Preview Lab → · Contrast checker → · Palette generator →

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