#947817#947817

#947817 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.3% C 0.112 H 91.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#947817
RGBrgb(148, 120, 23)
HSLhsl(47, 73%, 34%)
HSVhsv(47, 84%, 58%)
CMYKcmyk(0%, 18.9%, 84.5%, 42%)
CIE-LABlab(51.60, 1.40, 52.21)
CIE-LCHlch(51.60, 52.23, 88.46°)
OKLaboklab(58.33% -0.0023 0.1121)
OKLCHoklch(58.33% 0.112 91.2)
XYZxyz(19.0850, 19.7919, 3.6255)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947817 #173394
analogous
#943917 #947817 #719417
triadic
#947817 #179478 #781794
tetradic
#947817 #179439 #173394 #941771
square
#947817 #179439 #173394 #941771
split-complementary
#947817 #177194 #391794
monochromatic
#2A2207 #5F4D0F #947817 #C9A31F #E2BE44

Accessibility & contrast

On white

4.24
#947817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#947817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947817
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947817#FFFFFF#000000##000000
##9478171.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8E7E1E
Tritanopia (blue-blind)
#A16D66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #947817;
/* rgb */ color: rgb(148, 120, 23);
/* oklch */ color: oklch(58.3% 0.112 91.2);
Tailwind
colors: {
  custom: {
    50: '#b89e5f',
    500: '#947817',
    950: '#000000',
  },
}
SCSS
$custom: #947817;
$custom-light: #b89e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#947817",
  "rgb": {
    "r": 148,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 46.56,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58334,
    "c": 0.11213,
    "h": 91.2
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#947817
secondary
#4460C3
accent
#61F038
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #947817

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

Preview Lab → · Contrast checker → · Palette generator →

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