#949F2B#949F2B

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

Color values

HEX#949F2B
RGBrgb(148, 159, 43)
HSLhsl(66, 57%, 40%)
HSVhsv(66, 73%, 62%)
CMYKcmyk(6.9%, 0%, 73%, 37.6%)
CIE-LABlab(62.73, -18.80, 55.62)
CIE-LCHlch(62.73, 58.71, 108.68°)
OKLaboklab(67.23% -0.0571 0.1234)
OKLCHoklch(67.23% 0.136 114.9)
XYZxyz(25.0476, 31.2670, 7.0007)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F2B #362B9F
analogous
#9F702B #949F2B #5A9F2B
triadic
#949F2B #2B949F #9F2B94
tetradic
#949F2B #2B9F70 #362B9F #9F2B5A
square
#949F2B #2B9F70 #362B9F #9F2B5A
split-complementary
#949F2B #2B5A9F #702B9F
monochromatic
#3A3F11 #676F1E #949F2B #BDCA3D #CDD76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949F2B#FFFFFF#000000##000000
##949F2B1.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)
#AB9715
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#9E9689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f2b;
/* rgb */ color: rgb(148, 159, 43);
/* oklch */ color: oklch(67.2% 0.136 114.9);
Tailwind
colors: {
  custom: {
    50: '#b7bb6d',
    500: '#949f2b',
    950: '#000000',
  },
}
SCSS
$custom: #949f2b;
$custom-light: #b7bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#949f2b",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 65.69,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.13596,
    "h": 114.9
  },
  "luminance": 0.31267
}

Semantic roles & 50–950 ramp

primary
#949F2B
secondary
#7067BE
accent
#47E156
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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