#949A23#949A23

#949A23 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.0% C 0.135 H 112.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#949A23
RGBrgb(148, 154, 35)
HSLhsl(63, 63%, 37%)
HSVhsv(63, 77%, 60%)
CMYKcmyk(3.9%, 0%, 77.3%, 39.6%)
CIE-LABlab(61.25, -16.61, 56.98)
CIE-LCHlch(61.25, 59.36, 106.25°)
OKLaboklab(66.02% -0.0518 0.1248)
OKLCHoklch(66.02% 0.135 112.5)
XYZxyz(24.0725, 29.5290, 6.0214)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A23 #29239A
analogous
#9A6523 #949A23 #599A23
triadic
#949A23 #23949A #9A2394
tetradic
#949A23 #239A65 #29239A #9A2359
square
#949A23 #239A65 #29239A #9A2359
split-complementary
#949A23 #23599A #65239A
monochromatic
#34360C #646818 #949A23 #C4CC2E #D4DA5D

Accessibility & contrast

On white

3.04
#949A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#949A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A23
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A23#FFFFFF#000000##000000
##949A231.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69303
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#9E9084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a23;
/* rgb */ color: rgb(148, 154, 35);
/* oklch */ color: oklch(66.0% 0.135 112.5);
Tailwind
colors: {
  custom: {
    50: '#b7b768',
    500: '#949a23',
    950: '#000000',
  },
}
SCSS
$custom: #949a23;
$custom-light: #b7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#949a23",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 63.025,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66022,
    "c": 0.13511,
    "h": 112.5
  },
  "luminance": 0.29528
}

Semantic roles & 50–950 ramp

primary
#949A23
secondary
#5F5ABF
accent
#42E64A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949A23

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

Preview Lab → · Contrast checker → · Palette generator →

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