#947A1B#947A1B

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

Color values

HEX#947A1B
RGBrgb(148, 122, 27)
HSLhsl(47, 69%, 34%)
HSVhsv(47, 82%, 58%)
CMYKcmyk(0%, 17.6%, 81.8%, 42%)
CIE-LABlab(52.17, 0.41, 51.42)
CIE-LCHlch(52.17, 51.42, 89.54°)
OKLaboklab(58.79% -0.0047 0.1113)
OKLCHoklch(58.79% 0.111 92.4)
XYZxyz(19.3712, 20.2953, 3.9338)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947A1B #1B3594
analogous
#943D1B #947A1B #72941B
triadic
#947A1B #1B947A #7A1B94
tetradic
#947A1B #1B943D #1B3594 #941B72
square
#947A1B #1B943D #1B3594 #941B72
split-complementary
#947A1B #1B7294 #3D1B94
monochromatic
#2C2508 #604F12 #947A1B #C8A524 #DEBF4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##947A1B#FFFFFF#000000##000000
##947A1B1.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)
#887803
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#A16F68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #947a1b;
/* rgb */ color: rgb(148, 122, 27);
/* oklch */ color: oklch(58.8% 0.111 92.4);
Tailwind
colors: {
  custom: {
    50: '#b8a061',
    500: '#947a1b',
    950: '#000000',
  },
}
SCSS
$custom: #947a1b;
$custom-light: #b8a061;
$custom-dark: #000000;
JSON
{
  "hex": "#947a1b",
  "rgb": {
    "r": 148,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 47.107,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.11138,
    "h": 92.4
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#947A1B
secondary
#4B64C0
accent
#62EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #947A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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