#947917#947917

#947917 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.6% C 0.113 H 92.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#947917
RGBrgb(148, 121, 23)
HSLhsl(47, 73%, 34%)
HSVhsv(47, 84%, 58%)
CMYKcmyk(0%, 18.2%, 84.5%, 42%)
CIE-LABlab(51.88, 0.84, 52.45)
CIE-LCHlch(51.88, 52.45, 89.08°)
OKLaboklab(58.55% -0.0039 0.1126)
OKLCHoklch(58.55% 0.113 92)
XYZxyz(19.2059, 20.0337, 3.6658)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947917 #173294
analogous
#943A17 #947917 #709417
triadic
#947917 #179479 #791794
tetradic
#947917 #17943A #173294 #941770
square
#947917 #17943A #173294 #941770
split-complementary
#947917 #177094 #3A1794
monochromatic
#2A2207 #5F4E0F #947917 #C9A41F #E2C044

Accessibility & contrast

On white

4.19
#947917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#947917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947917
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947917#FFFFFF#000000##000000
##9479171.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8E7F1E
Tritanopia (blue-blind)
#A16E67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #947917;
/* rgb */ color: rgb(148, 121, 23);
/* oklch */ color: oklch(58.6% 0.113 92.0);
Tailwind
colors: {
  custom: {
    50: '#b89f5f',
    500: '#947917',
    950: '#000000',
  },
}
SCSS
$custom: #947917;
$custom-light: #b89f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#947917",
  "rgb": {
    "r": 148,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 47.04,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.1127,
    "h": 92
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#947917
secondary
#445FC3
accent
#60F038
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #947917

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

Preview Lab → · Contrast checker → · Palette generator →

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