#948322#948322

#948322 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.114 H 98.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#948322
RGBrgb(148, 131, 34)
HSLhsl(51, 63%, 36%)
HSVhsv(51, 77%, 58%)
CMYKcmyk(0%, 11.5%, 77%, 42%)
CIE-LABlab(54.70, -4.33, 51.26)
CIE-LCHlch(54.70, 51.45, 94.83°)
OKLaboklab(60.81% -0.0175 0.1124)
OKLCHoklch(60.81% 0.114 98.8)
XYZxyz(20.6188, 22.6450, 4.7979)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948322 #223394
analogous
#944A22 #948322 #6C9422
triadic
#948322 #229483 #832294
tetradic
#948322 #22944A #223394 #94226C
square
#948322 #22944A #223394 #94226C
split-complementary
#948322 #226C94 #4A2294
monochromatic
#302B0B #625717 #948322 #C6AF2D #D9C558

Accessibility & contrast

On white

3.80
#948322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#948322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948322
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948322#FFFFFF#000000##000000
##9483221.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #948322;
/* rgb */ color: rgb(148, 131, 34);
/* oklch */ color: oklch(60.8% 0.114 98.8);
Tailwind
colors: {
  custom: {
    50: '#b7a665',
    500: '#948322',
    950: '#000000',
  },
}
SCSS
$custom: #948322;
$custom-light: #b7a665;
$custom-dark: #000000;
JSON
{
  "hex": "#948322",
  "rgb": {
    "r": 148,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 51.053,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.11379,
    "h": 98.8
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#948322
secondary
#5565BD
accent
#5AE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948322

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

Preview Lab → · Contrast checker → · Palette generator →

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