#949D23#949D23

#949D23 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.138 H 113.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#949D23
RGBrgb(148, 157, 35)
HSLhsl(64, 64%, 38%)
HSVhsv(64, 78%, 62%)
CMYKcmyk(5.7%, 0%, 77.7%, 38.4%)
CIE-LABlab(62.11, -18.15, 57.78)
CIE-LCHlch(62.11, 60.56, 107.44°)
OKLaboklab(66.72% -0.0561 0.1265)
OKLCHoklch(66.72% 0.138 113.9)
XYZxyz(24.5738, 30.5317, 6.1885)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D23 #2C239D
analogous
#9D6923 #949D23 #579D23
triadic
#949D23 #23949D #9D2394
tetradic
#949D23 #239D69 #2C239D #9D2357
square
#949D23 #239D69 #2C239D #9D2357
split-complementary
#949D23 #23579D #69239D
monochromatic
#36390D #656B18 #949D23 #C3CF2E #D2DB5F

Accessibility & contrast

On white

2.96
#949D23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#949D23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D23
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D23#FFFFFF#000000##000000
##949D231.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99501
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d23;
/* rgb */ color: rgb(148, 157, 35);
/* oklch */ color: oklch(66.7% 0.138 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b969',
    500: '#949d23',
    950: '#000000',
  },
}
SCSS
$custom: #949d23;
$custom-light: #b7b969;
$custom-dark: #000000;
JSON
{
  "hex": "#949d23",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 64.426,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66715,
    "c": 0.13836,
    "h": 113.9
  },
  "luminance": 0.30531
}

Semantic roles & 50–950 ramp

primary
#949D23
secondary
#635CC0
accent
#41E74D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949D23

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

Preview Lab → · Contrast checker → · Palette generator →

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