#948A24#948A24

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

Color values

HEX#948A24
RGBrgb(148, 138, 36)
HSLhsl(55, 61%, 36%)
HSVhsv(55, 76%, 58%)
CMYKcmyk(0%, 6.8%, 75.7%, 42%)
CIE-LABlab(56.68, -8.08, 52.39)
CIE-LCHlch(56.68, 53.01, 98.76°)
OKLaboklab(62.38% -0.0278 0.1152)
OKLCHoklch(62.38% 0.119 103.6)
XYZxyz(21.6206, 24.6011, 5.2784)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948A24 #242E94
analogous
#945224 #948A24 #669424
triadic
#948A24 #24948A #8A2494
tetradic
#948A24 #249452 #242E94 #942466
square
#948A24 #249452 #242E94 #942466
split-complementary
#948A24 #246694 #522494
monochromatic
#322E0C #635C18 #948A24 #C5B830 #D7CC5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948A24#FFFFFF#000000##000000
##948A241.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)
#978510
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A08076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #948a24;
/* rgb */ color: rgb(148, 138, 36);
/* oklch */ color: oklch(62.4% 0.119 103.6);
Tailwind
colors: {
  custom: {
    50: '#b7ab67',
    500: '#948a24',
    950: '#000000',
  },
}
SCSS
$custom: #948a24;
$custom-light: #b7ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#948a24",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 54.643,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62383,
    "c": 0.11855,
    "h": 103.6
  },
  "luminance": 0.246
}

Semantic roles & 50–950 ramp

primary
#948A24
secondary
#5861BC
accent
#52E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948A24

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

Preview Lab → · Contrast checker → · Palette generator →

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