#949A2F#949A2F

#949A2F is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.1% C 0.128 H 112.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#949A2F
RGBrgb(148, 154, 47)
HSLhsl(63, 53%, 39%)
HSVhsv(63, 69%, 60%)
CMYKcmyk(3.9%, 0%, 69.5%, 39.6%)
CIE-LABlab(61.32, -16.01, 52.71)
CIE-LCHlch(61.32, 55.09, 106.89°)
OKLaboklab(66.1% -0.049 0.1179)
OKLCHoklch(66.1% 0.128 112.6)
XYZxyz(24.2822, 29.6129, 7.1255)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A2F #352F9A
analogous
#9A6A2F #949A2F #5F9A2F
triadic
#949A2F #2F949A #9A2F94
tetradic
#949A2F #2F9A6A #352F9A #9A2F5F
square
#949A2F #2F9A6A #352F9A #9A2F5F
split-complementary
#949A2F #2F5F9A #6A2F9A
monochromatic
#3A3C12 #676B21 #949A2F #BEC541 #CED370

Accessibility & contrast

On white

3.03
#949A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#949A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A2F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A2F#FFFFFF#000000##000000
##949A2F1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#9E9185
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a2f;
/* rgb */ color: rgb(148, 154, 47);
/* oklch */ color: oklch(66.1% 0.128 112.6);
Tailwind
colors: {
  custom: {
    50: '#b6b76e',
    500: '#949a2f',
    950: '#000000',
  },
}
SCSS
$custom: #949a2f;
$custom-light: #b6b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#949a2f",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 63.364,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.12769,
    "h": 112.6
  },
  "luminance": 0.29612
}

Semantic roles & 50–950 ramp

primary
#949A2F
secondary
#6E6ABB
accent
#4BDD53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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