#947E17#947E17

#947E17 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.116 H 95.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#947E17
RGBrgb(148, 126, 23)
HSLhsl(49, 73%, 34%)
HSVhsv(49, 84%, 58%)
CMYKcmyk(0%, 14.9%, 84.5%, 42%)
CIE-LABlab(53.26, -1.97, 53.63)
CIE-LCHlch(53.26, 53.66, 92.10°)
OKLaboklab(59.64% -0.0118 0.1152)
OKLCHoklch(59.64% 0.116 95.9)
XYZxyz(19.8294, 21.2806, 3.8736)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947E17 #172D94
analogous
#943F17 #947E17 #6B9417
triadic
#947E17 #17947E #7E1794
tetradic
#947E17 #17943F #172D94 #94176B
square
#947E17 #17943F #172D94 #94176B
split-complementary
#947E17 #176B94 #3F1794
monochromatic
#2A2407 #5F510F #947E17 #C9AB1F #E2C644

Accessibility & contrast

On white

4.00
#947E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#947E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947E17
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947E17#FFFFFF#000000##000000
##947E171.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#92821F
Tritanopia (blue-blind)
#A1736B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #947e17;
/* rgb */ color: rgb(148, 126, 23);
/* oklch */ color: oklch(59.6% 0.116 95.9);
Tailwind
colors: {
  custom: {
    50: '#b8a35f',
    500: '#947e17',
    950: '#000000',
  },
}
SCSS
$custom: #947e17;
$custom-light: #b8a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#947e17",
  "rgb": {
    "r": 148,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 49.44,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.11581,
    "h": 95.9
  },
  "luminance": 0.21279
}

Semantic roles & 50–950 ramp

primary
#947E17
secondary
#445AC3
accent
#58F038
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #947E17

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

Preview Lab → · Contrast checker → · Palette generator →

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