#948C27#948C27

#948C27 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.119 H 104.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#948C27
RGBrgb(148, 140, 39)
HSLhsl(56, 58%, 37%)
HSVhsv(56, 74%, 58%)
CMYKcmyk(0%, 5.4%, 73.6%, 42%)
CIE-LABlab(57.27, -9.02, 51.83)
CIE-LCHlch(57.27, 52.61, 99.87°)
OKLaboklab(62.85% -0.0302 0.1146)
OKLCHoklch(62.85% 0.119 104.7)
XYZxyz(21.9580, 25.1994, 5.6264)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948C27 #272F94
analogous
#945627 #948C27 #669427
triadic
#948C27 #27948C #8C2794
tetradic
#948C27 #279456 #272F94 #942766
square
#948C27 #279456 #272F94 #942766
split-complementary
#948C27 #276694 #562794
monochromatic
#33300D #645E1A #948C27 #C4BA34 #D5CD60

Accessibility & contrast

On white

3.48
#948C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#948C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948C27
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948C27#FFFFFF#000000##000000
##948C271.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9B8C2E
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948c27;
/* rgb */ color: rgb(148, 140, 39);
/* oklch */ color: oklch(62.9% 0.119 104.7);
Tailwind
colors: {
  custom: {
    50: '#b7ad69',
    500: '#948c27',
    950: '#000000',
  },
}
SCSS
$custom: #948c27;
$custom-light: #b7ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#948c27",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 55.596,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.11854,
    "h": 104.7
  },
  "luminance": 0.25199
}

Semantic roles & 50–950 ramp

primary
#948C27
secondary
#5C63BB
accent
#52E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948C27

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

Preview Lab → · Contrast checker → · Palette generator →

#948C27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva