#948C24#948C24

#948C24 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.120 H 104.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#948C24
RGBrgb(148, 140, 36)
HSLhsl(56, 61%, 36%)
HSVhsv(56, 76%, 58%)
CMYKcmyk(0%, 5.4%, 75.7%, 42%)
CIE-LABlab(57.25, -9.16, 52.93)
CIE-LCHlch(57.25, 53.71, 99.82°)
OKLaboklab(62.83% -0.0309 0.1164)
OKLCHoklch(62.83% 0.12 104.9)
XYZxyz(21.9102, 25.1803, 5.3749)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948C24 #242C94
analogous
#945424 #948C24 #649424
triadic
#948C24 #24948C #8C2494
tetradic
#948C24 #249454 #242C94 #942464
square
#948C24 #249454 #242C94 #942464
split-complementary
#948C24 #246494 #542494
monochromatic
#322F0C #635D18 #948C24 #C5BB30 #D7CE5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948C24#FFFFFF#000000##000000
##948C241.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)
#99870F
Deuteranopia (green-blind)
#9C8B2C
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948c24;
/* rgb */ color: rgb(148, 140, 36);
/* oklch */ color: oklch(62.8% 0.120 104.9);
Tailwind
colors: {
  custom: {
    50: '#b7ad67',
    500: '#948c24',
    950: '#000000',
  },
}
SCSS
$custom: #948c24;
$custom-light: #b7ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#948c24",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 55.714,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.12041,
    "h": 104.9
  },
  "luminance": 0.25179
}

Semantic roles & 50–950 ramp

primary
#948C24
secondary
#585FBC
accent
#4FE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948C24

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

Preview Lab → · Contrast checker → · Palette generator →

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