#947822#947822

#947822 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.4% C 0.106 H 90.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#947822
RGBrgb(148, 120, 34)
HSLhsl(45, 63%, 36%)
HSVhsv(45, 77%, 58%)
CMYKcmyk(0%, 18.9%, 77%, 42%)
CIE-LABlab(51.66, 1.83, 48.39)
CIE-LCHlch(51.66, 48.42, 87.84°)
OKLaboklab(58.4% 0.0001 0.1063)
OKLCHoklch(58.4% 0.106 90)
XYZxyz(19.2191, 19.8456, 4.3314)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947822 #223E94
analogous
#943F22 #947822 #779422
triadic
#947822 #229478 #782294
tetradic
#947822 #22943F #223E94 #942277
square
#947822 #22943F #223E94 #942277
split-complementary
#947822 #227794 #3F2294
monochromatic
#30270B #625017 #947822 #C6A02D #D9B958

Accessibility & contrast

On white

4.23
#947822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#947822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947822
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947822#FFFFFF#000000##000000
##9478221.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867713
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#A16D67
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #947822;
/* rgb */ color: rgb(148, 120, 34);
/* oklch */ color: oklch(58.4% 0.106 90.0);
Tailwind
colors: {
  custom: {
    50: '#b79e64',
    500: '#947822',
    950: '#000000',
  },
}
SCSS
$custom: #947822;
$custom-light: #b79e64;
$custom-dark: #000000;
JSON
{
  "hex": "#947822",
  "rgb": {
    "r": 148,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 45.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.10631,
    "h": 90
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#947822
secondary
#556FBD
accent
#6AE642
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #947822

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

Preview Lab → · Contrast checker → · Palette generator →

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