#947F22#947F22

#947F22 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.111 H 95.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#947F22
RGBrgb(148, 127, 34)
HSLhsl(49, 63%, 36%)
HSVhsv(49, 77%, 58%)
CMYKcmyk(0%, 14.2%, 77%, 42%)
CIE-LABlab(53.59, -2.11, 50.21)
CIE-LCHlch(53.59, 50.26, 92.41°)
OKLaboklab(59.93% -0.0112 0.1102)
OKLCHoklch(59.93% 0.111 95.8)
XYZxyz(20.0919, 21.5912, 4.6223)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947F22 #223794
analogous
#944622 #947F22 #709422
triadic
#947F22 #22947F #7F2294
tetradic
#947F22 #229446 #223794 #942270
square
#947F22 #229446 #223794 #942270
split-complementary
#947F22 #227094 #462294
monochromatic
#302A0B #625417 #947F22 #C6AA2D #D9C158

Accessibility & contrast

On white

3.95
#947F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#947F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947F22
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947F22#FFFFFF#000000##000000
##947F221.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A0756D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #947f22;
/* rgb */ color: rgb(148, 127, 34);
/* oklch */ color: oklch(59.9% 0.111 95.8);
Tailwind
colors: {
  custom: {
    50: '#b7a365',
    500: '#947f22',
    950: '#000000',
  },
}
SCSS
$custom: #947f22;
$custom-light: #b7a365;
$custom-dark: #000000;
JSON
{
  "hex": "#947f22",
  "rgb": {
    "r": 148,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 48.947,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.11077,
    "h": 95.8
  },
  "luminance": 0.2159
}

Semantic roles & 50–950 ramp

primary
#947F22
secondary
#5568BD
accent
#60E642
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #947F22

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

Preview Lab → · Contrast checker → · Palette generator →

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