#947C17#947C17

#947C17 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.115 H 94.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#947C17
RGBrgb(148, 124, 23)
HSLhsl(48, 73%, 34%)
HSVhsv(48, 84%, 58%)
CMYKcmyk(0%, 16.2%, 84.5%, 42%)
CIE-LABlab(52.70, -0.85, 53.15)
CIE-LCHlch(52.70, 53.16, 90.91°)
OKLaboklab(59.2% -0.0086 0.1142)
OKLCHoklch(59.2% 0.115 94.3)
XYZxyz(19.5762, 20.7742, 3.7892)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947C17 #172F94
analogous
#943D17 #947C17 #6D9417
triadic
#947C17 #17947C #7C1794
tetradic
#947C17 #17943D #172F94 #94176D
square
#947C17 #17943D #172F94 #94176D
split-complementary
#947C17 #176D94 #3D1794
monochromatic
#2A2307 #5F500F #947C17 #C9A81F #E2C344

Accessibility & contrast

On white

4.07
#947C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#947C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947C17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947C17#FFFFFF#000000##000000
##947C171.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#90811F
Tritanopia (blue-blind)
#A1716A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #947c17;
/* rgb */ color: rgb(148, 124, 23);
/* oklch */ color: oklch(59.2% 0.115 94.3);
Tailwind
colors: {
  custom: {
    50: '#b8a15f',
    500: '#947c17',
    950: '#000000',
  },
}
SCSS
$custom: #947c17;
$custom-light: #b8a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#947c17",
  "rgb": {
    "r": 148,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 48.48,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.1145,
    "h": 94.3
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#947C17
secondary
#445CC3
accent
#5BF038
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #947C17

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

Preview Lab → · Contrast checker → · Palette generator →

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