#949C23#949C23

#949C23 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.137 H 113.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#949C23
RGBrgb(148, 156, 35)
HSLhsl(64, 63%, 37%)
HSVhsv(64, 78%, 61%)
CMYKcmyk(5.1%, 0%, 77.6%, 38.8%)
CIE-LABlab(61.82, -17.64, 57.51)
CIE-LCHlch(61.82, 60.16, 107.05°)
OKLaboklab(66.48% -0.0546 0.1259)
OKLCHoklch(66.48% 0.137 113.5)
XYZxyz(24.4054, 30.1947, 6.1323)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C23 #2B239C
analogous
#9C6823 #949C23 #579C23
triadic
#949C23 #23949C #9C2394
tetradic
#949C23 #239C68 #2B239C #9C2357
square
#949C23 #239C68 #2B239C #9C2357
split-complementary
#949C23 #23579C #68239C
monochromatic
#35380D #656A18 #949C23 #C3CE2E #D3DB5E

Accessibility & contrast

On white

2.98
#949C23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#949C23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949C23
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949C23#FFFFFF#000000##000000
##949C231.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89402
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#9E9285
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c23;
/* rgb */ color: rgb(148, 156, 35);
/* oklch */ color: oklch(66.5% 0.137 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b969',
    500: '#949c23',
    950: '#000000',
  },
}
SCSS
$custom: #949c23;
$custom-light: #b7b969;
$custom-dark: #000000;
JSON
{
  "hex": "#949c23",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 63.967,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66484,
    "c": 0.13727,
    "h": 113.5
  },
  "luminance": 0.30194
}

Semantic roles & 50–950 ramp

primary
#949C23
secondary
#625BC0
accent
#41E64C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949C23

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

Preview Lab → · Contrast checker → · Palette generator →

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