#949F2A#949F2A

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

Color values

HEX#949F2A
RGBrgb(148, 159, 42)
HSLhsl(66, 58%, 39%)
HSVhsv(66, 74%, 62%)
CMYKcmyk(6.9%, 0%, 73.6%, 37.6%)
CIE-LABlab(62.73, -18.85, 55.98)
CIE-LCHlch(62.73, 59.07, 108.61°)
OKLaboklab(67.22% -0.0574 0.1239)
OKLCHoklch(67.22% 0.137 114.8)
XYZxyz(25.0295, 31.2598, 6.9053)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F2A #352A9F
analogous
#9F702A #949F2A #5A9F2A
triadic
#949F2A #2A949F #9F2A94
tetradic
#949F2A #2A9F70 #352A9F #9F2A5A
square
#949F2A #2A9F70 #352A9F #9F2A5A
split-complementary
#949F2A #2A5A9F #702A9F
monochromatic
#3A3E10 #676F1D #949F2A #BECB3B #CED86B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949F2A#FFFFFF#000000##000000
##949F2A1.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)
#AB9713
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#9E9688
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f2a;
/* rgb */ color: rgb(148, 159, 42);
/* oklch */ color: oklch(67.2% 0.137 114.8);
Tailwind
colors: {
  custom: {
    50: '#b7bb6c',
    500: '#949f2a',
    950: '#000000',
  },
}
SCSS
$custom: #949f2a;
$custom-light: #b7bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#949f2a",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 65.641,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.13658,
    "h": 114.8
  },
  "luminance": 0.31259
}

Semantic roles & 50–950 ramp

primary
#949F2A
secondary
#6E66BF
accent
#46E155
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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