#948922#948922

#948922 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.119 H 103.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#948922
RGBrgb(148, 137, 34)
HSLhsl(54, 63%, 36%)
HSVhsv(54, 77%, 58%)
CMYKcmyk(0%, 7.4%, 77%, 42%)
CIE-LABlab(56.39, -7.62, 52.84)
CIE-LCHlch(56.39, 53.38, 98.21°)
OKLaboklab(62.15% -0.0267 0.1158)
OKLCHoklch(62.15% 0.119 103)
XYZxyz(21.4481, 24.3036, 5.0744)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948922 #222D94
analogous
#945022 #948922 #669422
triadic
#948922 #229489 #892294
tetradic
#948922 #229450 #222D94 #942266
square
#948922 #229450 #222D94 #942266
split-complementary
#948922 #226694 #502294
monochromatic
#302D0B #625B17 #948922 #C6B72D #D9CC58

Accessibility & contrast

On white

3.58
#948922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#948922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948922
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948922#FFFFFF#000000##000000
##9489221.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840C
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A07F75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #948922;
/* rgb */ color: rgb(148, 137, 34);
/* oklch */ color: oklch(62.1% 0.119 103.0);
Tailwind
colors: {
  custom: {
    50: '#b7ab66',
    500: '#948922',
    950: '#000000',
  },
}
SCSS
$custom: #948922;
$custom-light: #b7ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#948922",
  "rgb": {
    "r": 148,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 54.211,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62145,
    "c": 0.11884,
    "h": 103
  },
  "luminance": 0.24303
}

Semantic roles & 50–950 ramp

primary
#948922
secondary
#555FBD
accent
#52E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948922

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

Preview Lab → · Contrast checker → · Palette generator →

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