#947B1B#947B1B

#947B1B is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 59.0% C 0.112 H 93.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#947B1B
RGBrgb(148, 123, 27)
HSLhsl(48, 69%, 34%)
HSVhsv(48, 82%, 58%)
CMYKcmyk(0%, 16.9%, 81.8%, 42%)
CIE-LABlab(52.44, -0.15, 51.66)
CIE-LCHlch(52.44, 51.66, 90.17°)
OKLaboklab(59.01% -0.0063 0.1118)
OKLCHoklch(59.01% 0.112 93.2)
XYZxyz(19.4947, 20.5421, 3.9749)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947B1B #1B3494
analogous
#943E1B #947B1B #71941B
triadic
#947B1B #1B947B #7B1B94
tetradic
#947B1B #1B943E #1B3494 #941B71
square
#947B1B #1B943E #1B3494 #941B71
split-complementary
#947B1B #1B7194 #3E1B94
monochromatic
#2C2508 #605012 #947B1B #C8A624 #DEC04B

Accessibility & contrast

On white

4.11
#947B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#947B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947B1B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947B1B#FFFFFF#000000##000000
##947B1B1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#A17069
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #947b1b;
/* rgb */ color: rgb(148, 123, 27);
/* oklch */ color: oklch(59.0% 0.112 93.2);
Tailwind
colors: {
  custom: {
    50: '#b8a061',
    500: '#947b1b',
    950: '#000000',
  },
}
SCSS
$custom: #947b1b;
$custom-light: #b8a061;
$custom-dark: #000000;
JSON
{
  "hex": "#947b1b",
  "rgb": {
    "r": 148,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 47.603,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.11199,
    "h": 93.2
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#947B1B
secondary
#4B63C0
accent
#60EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #947B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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