#949E2B#949E2B

#949E2B is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.135 H 114.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#949E2B
RGBrgb(148, 158, 43)
HSLhsl(65, 57%, 39%)
HSVhsv(65, 73%, 62%)
CMYKcmyk(6.3%, 0%, 72.8%, 38%)
CIE-LABlab(62.44, -18.29, 55.34)
CIE-LCHlch(62.44, 58.29, 108.29°)
OKLaboklab(67% -0.0557 0.1228)
OKLCHoklch(67% 0.135 114.4)
XYZxyz(24.8763, 30.9245, 6.9436)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E2B #352B9E
analogous
#9E6E2B #949E2B #5B9E2B
triadic
#949E2B #2B949E #9E2B94
tetradic
#949E2B #2B9E6E #352B9E #9E2B5B
square
#949E2B #2B9E6E #352B9E #9E2B5B
split-complementary
#949E2B #2B5B9E #6E2B9E
monochromatic
#3A3E11 #676E1E #949E2B #BECA3C #CED76C

Accessibility & contrast

On white

2.92
#949E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#949E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949E2B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949E2B#FFFFFF#000000##000000
##949E2B1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9616
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e2b;
/* rgb */ color: rgb(148, 158, 43);
/* oklch */ color: oklch(67.0% 0.135 114.4);
Tailwind
colors: {
  custom: {
    50: '#b7ba6d',
    500: '#949e2b',
    950: '#000000',
  },
}
SCSS
$custom: #949e2b;
$custom-light: #b7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#949e2b",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 65.217,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66997,
    "c": 0.13483,
    "h": 114.4
  },
  "luminance": 0.30924
}

Semantic roles & 50–950 ramp

primary
#949E2B
secondary
#6E67BE
accent
#47E055
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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