#948E26#948E26

#948E26 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.121 H 106.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#948E26
RGBrgb(148, 142, 38)
HSLhsl(57, 59%, 36%)
HSVhsv(57, 74%, 58%)
CMYKcmyk(0%, 4.1%, 74.3%, 42%)
CIE-LABlab(57.83, -10.14, 52.75)
CIE-LCHlch(57.83, 53.71, 100.88°)
OKLaboklab(63.3% -0.0334 0.1164)
OKLCHoklch(63.3% 0.121 106)
XYZxyz(22.2365, 25.7827, 5.6386)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E26 #262C94
analogous
#945726 #948E26 #639426
triadic
#948E26 #26948E #8E2694
tetradic
#948E26 #269457 #262C94 #942663
square
#948E26 #269457 #262C94 #942663
split-complementary
#948E26 #266394 #572694
monochromatic
#33310D #635F19 #948E26 #C5BD33 #D6CF5F

Accessibility & contrast

On white

3.41
#948E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#948E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E26
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E26#FFFFFF#000000##000000
##948E261.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e26;
/* rgb */ color: rgb(148, 142, 38);
/* oklch */ color: oklch(63.3% 0.121 106.0);
Tailwind
colors: {
  custom: {
    50: '#b7ae68',
    500: '#948e26',
    950: '#000000',
  },
}
SCSS
$custom: #948e26;
$custom-light: #b7ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#948e26",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 56.727,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63299,
    "c": 0.12109,
    "h": 106
  },
  "luminance": 0.25782
}

Semantic roles & 50–950 ramp

primary
#948E26
secondary
#5B60BB
accent
#4EE245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948E26

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

Preview Lab → · Contrast checker → · Palette generator →

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