#949223#949223

#949223 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.2% C 0.127 H 108.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#949223
RGBrgb(148, 146, 35)
HSLhsl(59, 62%, 36%)
HSVhsv(59, 76%, 58%)
CMYKcmyk(0%, 1.4%, 76.4%, 42%)
CIE-LABlab(58.95, -12.42, 54.87)
CIE-LCHlch(58.95, 56.26, 102.75°)
OKLaboklab(64.19% -0.0401 0.1203)
OKLCHoklch(64.19% 0.127 108.4)
XYZxyz(22.7959, 26.9758, 5.5958)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949223 #232594
analogous
#945923 #949223 #5D9423
triadic
#949223 #239492 #922394
tetradic
#949223 #239459 #232594 #94235D
square
#949223 #239459 #232594 #94235D
split-complementary
#949223 #235D94 #592394
monochromatic
#31300C #636117 #949223 #C5C32F #D8D65A

Accessibility & contrast

On white

3.28
#949223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#949223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949223
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949223#FFFFFF#000000##000000
##9492231.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C09
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#9F887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #949223;
/* rgb */ color: rgb(148, 146, 35);
/* oklch */ color: oklch(64.2% 0.127 108.4);
Tailwind
colors: {
  custom: {
    50: '#b7b167',
    500: '#949223',
    950: '#000000',
  },
}
SCSS
$custom: #949223;
$custom-light: #b7b167;
$custom-dark: #000000;
JSON
{
  "hex": "#949223",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 58.938,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64188,
    "c": 0.12682,
    "h": 108.4
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#949223
secondary
#5758BC
accent
#46E543
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #949223

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

Preview Lab → · Contrast checker → · Palette generator →

#949223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva