#947F23#947F23

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

Color values

HEX#947F23
RGBrgb(148, 127, 35)
HSLhsl(49, 62%, 36%)
HSVhsv(49, 76%, 58%)
CMYKcmyk(0%, 14.2%, 76.4%, 42%)
CIE-LABlab(53.60, -2.06, 49.84)
CIE-LCHlch(53.60, 49.88, 92.37°)
OKLaboklab(59.93% -0.0109 0.1096)
OKLCHoklch(59.93% 0.11 95.7)
XYZxyz(20.1065, 21.5971, 4.6994)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947F23 #233894
analogous
#944723 #947F23 #709423
triadic
#947F23 #23947F #7F2394
tetradic
#947F23 #239447 #233894 #942370
square
#947F23 #239447 #233894 #942370
split-complementary
#947F23 #237094 #472394
monochromatic
#312A0C #635517 #947F23 #C5A92F #D8C05A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##947F23#FFFFFF#000000##000000
##947F231.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)
#8D7C13
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#A0756D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #947f23;
/* rgb */ color: rgb(148, 127, 35);
/* oklch */ color: oklch(59.9% 0.110 95.7);
Tailwind
colors: {
  custom: {
    50: '#b7a365',
    500: '#947f23',
    950: '#000000',
  },
}
SCSS
$custom: #947f23;
$custom-light: #b7a365;
$custom-dark: #000000;
JSON
{
  "hex": "#947f23",
  "rgb": {
    "r": 148,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 48.85,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.11016,
    "h": 95.7
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#947F23
secondary
#5769BC
accent
#61E543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #947F23

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

Preview Lab → · Contrast checker → · Palette generator →

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