#947A1A#947A1A

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

Color values

HEX#947A1A
RGBrgb(148, 122, 26)
HSLhsl(47, 70%, 34%)
HSVhsv(47, 82%, 58%)
CMYKcmyk(0%, 17.6%, 82.4%, 42%)
CIE-LABlab(52.16, 0.38, 51.74)
CIE-LCHlch(52.16, 51.75, 89.58°)
OKLaboklab(58.78% -0.0049 0.1118)
OKLCHoklch(58.78% 0.112 92.5)
XYZxyz(19.3599, 20.2908, 3.8739)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947A1A #1A3494
analogous
#943D1A #947A1A #71941A
triadic
#947A1A #1A947A #7A1A94
tetradic
#947A1A #1A943D #1A3494 #941A71
square
#947A1A #1A943D #1A3494 #941A71
split-complementary
#947A1A #1A7194 #3D1A94
monochromatic
#2C2408 #604F11 #947A1A #C8A523 #DFBF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #947a1a;
/* rgb */ color: rgb(148, 122, 26);
/* oklch */ color: oklch(58.8% 0.112 92.5);
Tailwind
colors: {
  custom: {
    50: '#b8a060',
    500: '#947a1a',
    950: '#000000',
  },
}
SCSS
$custom: #947a1a;
$custom-light: #b8a060;
$custom-dark: #000000;
JSON
{
  "hex": "#947a1a",
  "rgb": {
    "r": 148,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 47.213,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.11188,
    "h": 92.5
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#947A1A
secondary
#4963C1
accent
#61ED3B
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #947A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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