#948722#948722

#948722 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.117 H 101.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#948722
RGBrgb(148, 135, 34)
HSLhsl(53, 63%, 36%)
HSVhsv(53, 77%, 58%)
CMYKcmyk(0%, 8.8%, 77%, 42%)
CIE-LABlab(55.83, -6.53, 52.31)
CIE-LCHlch(55.83, 52.72, 97.12°)
OKLaboklab(61.7% -0.0237 0.1147)
OKLCHoklch(61.7% 0.117 101.7)
XYZxyz(21.1664, 23.7403, 4.9805)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948722 #222F94
analogous
#944E22 #948722 #689422
triadic
#948722 #229487 #872294
tetradic
#948722 #22944E #222F94 #942268
square
#948722 #22944E #222F94 #942268
split-complementary
#948722 #226894 #4E2294
monochromatic
#302C0B #625A17 #948722 #C6B42D #D9CA58

Accessibility & contrast

On white

3.65
#948722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#948722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948722
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948722#FFFFFF#000000##000000
##9487221.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A07D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #948722;
/* rgb */ color: rgb(148, 135, 34);
/* oklch */ color: oklch(61.7% 0.117 101.7);
Tailwind
colors: {
  custom: {
    50: '#b7a965',
    500: '#948722',
    950: '#000000',
  },
}
SCSS
$custom: #948722;
$custom-light: #b7a965;
$custom-dark: #000000;
JSON
{
  "hex": "#948722",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 53.158,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.11709,
    "h": 101.7
  },
  "luminance": 0.23739
}

Semantic roles & 50–950 ramp

primary
#948722
secondary
#5561BD
accent
#55E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948722

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

Preview Lab → · Contrast checker → · Palette generator →

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