#947F2D#947F2D

#947F2D is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.103 H 94.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#947F2D
RGBrgb(148, 127, 45)
HSLhsl(48, 53%, 38%)
HSVhsv(48, 70%, 58%)
CMYKcmyk(0%, 14.2%, 69.6%, 42%)
CIE-LABlab(53.67, -1.54, 45.76)
CIE-LCHlch(53.67, 45.79, 91.93°)
OKLaboklab(60.01% -0.0083 0.1029)
OKLCHoklch(60.01% 0.103 94.6)
XYZxyz(20.2768, 21.6652, 5.5959)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947F2D #2D4294
analogous
#944B2D #947F2D #75942D
triadic
#947F2D #2D947F #7F2D94
tetradic
#947F2D #2D944B #2D4294 #942D75
square
#947F2D #2D944B #2D4294 #942D75
split-complementary
#947F2D #2D7594 #4B2D94
monochromatic
#362E10 #65571F #947F2D #C3A73B #D2BC6A

Accessibility & contrast

On white

3.94
#947F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#947F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947F2D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947F2D#FFFFFF#000000##000000
##947F2D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D22
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#A0756E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #947f2d;
/* rgb */ color: rgb(148, 127, 45);
/* oklch */ color: oklch(60.0% 0.103 94.6);
Tailwind
colors: {
  custom: {
    50: '#b7a36b',
    500: '#947f2d',
    950: '#000000',
  },
}
SCSS
$custom: #947f2d;
$custom-light: #b7a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#947f2d",
  "rgb": {
    "r": 148,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 47.767,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.10325,
    "h": 94.6
  },
  "luminance": 0.21664
}

Semantic roles & 50–950 ramp

primary
#947F2D
secondary
#6475B8
accent
#69DD4B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #947F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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