#948D27#948D27

#948D27 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.119 H 105.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#948D27
RGBrgb(148, 141, 39)
HSLhsl(56, 58%, 37%)
HSVhsv(56, 74%, 58%)
CMYKcmyk(0%, 4.7%, 73.6%, 42%)
CIE-LABlab(57.55, -9.56, 52.11)
CIE-LCHlch(57.55, 52.97, 100.39°)
OKLaboklab(63.08% -0.0317 0.1152)
OKLCHoklch(63.08% 0.119 105.4)
XYZxyz(22.1047, 25.4930, 5.6753)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D27 #272E94
analogous
#945727 #948D27 #659427
triadic
#948D27 #27948D #8D2794
tetradic
#948D27 #279457 #272E94 #942765
square
#948D27 #279457 #272E94 #942765
split-complementary
#948D27 #276594 #572794
monochromatic
#33310D #645F1A #948D27 #C4BB34 #D5CE60

Accessibility & contrast

On white

3.44
#948D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#948D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948D27
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948D27#FFFFFF#000000##000000
##948D271.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#9F8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948d27;
/* rgb */ color: rgb(148, 141, 39);
/* oklch */ color: oklch(63.1% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#b7ae69',
    500: '#948d27',
    950: '#000000',
  },
}
SCSS
$custom: #948d27;
$custom-light: #b7ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#948d27",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 56.147,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.11949,
    "h": 105.4
  },
  "luminance": 0.25492
}

Semantic roles & 50–950 ramp

primary
#948D27
secondary
#5C62BB
accent
#50E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948D27

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

Preview Lab → · Contrast checker → · Palette generator →

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