#948A27#948A27

#948A27 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.117 H 103.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#948A27
RGBrgb(148, 138, 39)
HSLhsl(54, 58%, 37%)
HSVhsv(54, 74%, 58%)
CMYKcmyk(0%, 6.8%, 73.6%, 42%)
CIE-LABlab(56.70, -7.93, 51.29)
CIE-LCHlch(56.70, 51.90, 98.79°)
OKLaboklab(62.4% -0.0271 0.1135)
OKLCHoklch(62.4% 0.117 103.4)
XYZxyz(21.6684, 24.6202, 5.5299)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948A27 #273194
analogous
#945327 #948A27 #689427
triadic
#948A27 #27948A #8A2794
tetradic
#948A27 #279453 #273194 #942768
square
#948A27 #279453 #273194 #942768
split-complementary
#948A27 #276894 #532794
monochromatic
#33300D #645D1A #948A27 #C4B734 #D5CA60

Accessibility & contrast

On white

3.55
#948A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#948A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948A27
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948A27#FFFFFF#000000##000000
##948A271.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978516
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#9F8077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #948a27;
/* rgb */ color: rgb(148, 138, 39);
/* oklch */ color: oklch(62.4% 0.117 103.4);
Tailwind
colors: {
  custom: {
    50: '#b7ab68',
    500: '#948a27',
    950: '#000000',
  },
}
SCSS
$custom: #948a27;
$custom-light: #b7ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#948a27",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 54.495,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62404,
    "c": 0.11668,
    "h": 103.4
  },
  "luminance": 0.24619
}

Semantic roles & 50–950 ramp

primary
#948A27
secondary
#5C65BB
accent
#55E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948A27

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

Preview Lab → · Contrast checker → · Palette generator →

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