#949F2D#949F2D

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

Color values

HEX#949F2D
RGBrgb(148, 159, 45)
HSLhsl(66, 56%, 40%)
HSVhsv(66, 72%, 62%)
CMYKcmyk(6.9%, 0%, 71.7%, 37.6%)
CIE-LABlab(62.75, -18.70, 54.90)
CIE-LCHlch(62.75, 57.99, 108.81°)
OKLaboklab(67.24% -0.0567 0.1222)
OKLCHoklch(67.24% 0.135 114.9)
XYZxyz(25.0852, 31.2821, 7.1987)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F2D #382D9F
analogous
#9F712D #949F2D #5B9F2D
triadic
#949F2D #2D949F #9F2D94
tetradic
#949F2D #2D9F71 #382D9F #9F2D5B
square
#949F2D #2D9F71 #382D9F #9F2D5B
split-complementary
#949F2D #2D5B9F #712D9F
monochromatic
#3B4012 #686F20 #949F2D #BCC940 #CDD670

Accessibility & contrast

On white

2.89
#949F2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#949F2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F2D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F2D#FFFFFF#000000##000000
##949F2D1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9719
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#9E9689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f2d;
/* rgb */ color: rgb(148, 159, 45);
/* oklch */ color: oklch(67.2% 0.135 114.9);
Tailwind
colors: {
  custom: {
    50: '#b6bb6e',
    500: '#949f2d',
    950: '#000000',
  },
}
SCSS
$custom: #949f2d;
$custom-light: #b6bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#949f2d",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 65.789,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.13469,
    "h": 114.9
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

primary
#949F2D
secondary
#726ABE
accent
#49DF57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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