#948422#948422

#948422 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.0% C 0.115 H 99.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#948422
RGBrgb(148, 132, 34)
HSLhsl(52, 63%, 36%)
HSVhsv(52, 77%, 58%)
CMYKcmyk(0%, 10.8%, 77%, 42%)
CIE-LABlab(54.98, -4.88, 51.53)
CIE-LCHlch(54.98, 51.76, 95.41°)
OKLaboklab(61.03% -0.019 0.113)
OKLCHoklch(61.03% 0.115 99.6)
XYZxyz(20.7538, 22.9149, 4.8429)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948422 #223294
analogous
#944B22 #948422 #6B9422
triadic
#948422 #229484 #842294
tetradic
#948422 #22944B #223294 #94226B
square
#948422 #22944B #223294 #94226B
split-complementary
#948422 #226B94 #4B2294
monochromatic
#302B0B #625817 #948422 #C6B02D #D9C758

Accessibility & contrast

On white

3.76
#948422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#948422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948422
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948422#FFFFFF#000000##000000
##9484221.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#A07A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948422;
/* rgb */ color: rgb(148, 132, 34);
/* oklch */ color: oklch(61.0% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#b7a765',
    500: '#948422',
    950: '#000000',
  },
}
SCSS
$custom: #948422;
$custom-light: #b7a765;
$custom-dark: #000000;
JSON
{
  "hex": "#948422",
  "rgb": {
    "r": 148,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 51.579,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.11459,
    "h": 99.6
  },
  "luminance": 0.22914
}

Semantic roles & 50–950 ramp

primary
#948422
secondary
#5564BD
accent
#59E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948422

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

Preview Lab → · Contrast checker → · Palette generator →

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