#947E22#947E22

#947E22 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.7% C 0.110 H 95.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#947E22
RGBrgb(148, 126, 34)
HSLhsl(48, 63%, 36%)
HSVhsv(48, 77%, 58%)
CMYKcmyk(0%, 14.9%, 77%, 42%)
CIE-LABlab(53.31, -1.55, 49.95)
CIE-LCHlch(53.31, 49.98, 91.78°)
OKLaboklab(59.71% -0.0096 0.1097)
OKLCHoklch(59.71% 0.11 95)
XYZxyz(19.9634, 21.3342, 4.5795)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947E22 #223894
analogous
#944522 #947E22 #719422
triadic
#947E22 #22947E #7E2294
tetradic
#947E22 #229445 #223894 #942271
square
#947E22 #229445 #223894 #942271
split-complementary
#947E22 #227194 #452294
monochromatic
#30290B #625417 #947E22 #C6A82D #D9C058

Accessibility & contrast

On white

3.99
#947E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#947E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947E22
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947E22#FFFFFF#000000##000000
##947E221.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#A0746C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #947e22;
/* rgb */ color: rgb(148, 126, 34);
/* oklch */ color: oklch(59.7% 0.110 95.0);
Tailwind
colors: {
  custom: {
    50: '#b7a364',
    500: '#947e22',
    950: '#000000',
  },
}
SCSS
$custom: #947e22;
$custom-light: #b7a364;
$custom-dark: #000000;
JSON
{
  "hex": "#947e22",
  "rgb": {
    "r": 148,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 48.421,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.11007,
    "h": 95
  },
  "luminance": 0.21333
}

Semantic roles & 50–950 ramp

primary
#947E22
secondary
#5569BD
accent
#62E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #947E22

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

Preview Lab → · Contrast checker → · Palette generator →

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