#948D26#948D26

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

Color values

HEX#948D26
RGBrgb(148, 141, 38)
HSLhsl(56, 59%, 36%)
HSVhsv(56, 74%, 58%)
CMYKcmyk(0%, 4.7%, 74.3%, 42%)
CIE-LABlab(57.55, -9.60, 52.47)
CIE-LCHlch(57.55, 53.35, 100.37°)
OKLaboklab(63.07% -0.0319 0.1158)
OKLCHoklch(63.07% 0.12 105.4)
XYZxyz(22.0884, 25.4864, 5.5892)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D26 #262D94
analogous
#945626 #948D26 #649426
triadic
#948D26 #26948D #8D2694
tetradic
#948D26 #269456 #262D94 #942664
square
#948D26 #269456 #262D94 #942664
split-complementary
#948D26 #266494 #562694
monochromatic
#33300D #635F19 #948D26 #C5BB33 #D6CE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948D26#FFFFFF#000000##000000
##948D261.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)
#9A8813
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#9F8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948d26;
/* rgb */ color: rgb(148, 141, 38);
/* oklch */ color: oklch(63.1% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#b7ae68',
    500: '#948d26',
    950: '#000000',
  },
}
SCSS
$custom: #948d26;
$custom-light: #b7ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#948d26",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 56.182,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.12012,
    "h": 105.4
  },
  "luminance": 0.25486
}

Semantic roles & 50–950 ramp

primary
#948D26
secondary
#5B61BB
accent
#4FE245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948D26

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

Preview Lab → · Contrast checker → · Palette generator →

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