#947A17#947A17

#947A17 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.8% C 0.113 H 92.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#947A17
RGBrgb(148, 122, 23)
HSLhsl(48, 73%, 34%)
HSVhsv(48, 84%, 58%)
CMYKcmyk(0%, 17.6%, 84.5%, 42%)
CIE-LABlab(52.15, 0.28, 52.68)
CIE-LCHlch(52.15, 52.68, 89.70°)
OKLaboklab(58.77% -0.0055 0.1131)
OKLCHoklch(58.77% 0.113 92.8)
XYZxyz(19.3281, 20.2780, 3.7065)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947A17 #173194
analogous
#943B17 #947A17 #6F9417
triadic
#947A17 #17947A #7A1794
tetradic
#947A17 #17943B #173194 #94176F
square
#947A17 #17943B #173194 #94176F
split-complementary
#947A17 #176F94 #3B1794
monochromatic
#2A2307 #5F4E0F #947A17 #C9A61F #E2C144

Accessibility & contrast

On white

4.15
#947A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#947A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947A17
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947A17#FFFFFF#000000##000000
##947A171.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8F801E
Tritanopia (blue-blind)
#A16F68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #947a17;
/* rgb */ color: rgb(148, 122, 23);
/* oklch */ color: oklch(58.8% 0.113 92.8);
Tailwind
colors: {
  custom: {
    50: '#b8a05f',
    500: '#947a17',
    950: '#000000',
  },
}
SCSS
$custom: #947a17;
$custom-light: #b8a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#947a17",
  "rgb": {
    "r": 148,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 47.52,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.11327,
    "h": 92.8
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#947A17
secondary
#445EC3
accent
#5EF038
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #947A17

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

Preview Lab → · Contrast checker → · Palette generator →

#947A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva