#948C23#948C23

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

Color values

HEX#948C23
RGBrgb(148, 140, 35)
HSLhsl(56, 62%, 36%)
HSVhsv(56, 76%, 58%)
CMYKcmyk(0%, 5.4%, 76.4%, 42%)
CIE-LABlab(57.24, -9.20, 53.28)
CIE-LCHlch(57.24, 54.07, 99.80°)
OKLaboklab(62.83% -0.0311 0.1169)
OKLCHoklch(62.83% 0.121 104.9)
XYZxyz(21.8951, 25.1743, 5.2956)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948C23 #232B94
analogous
#945323 #948C23 #639423
triadic
#948C23 #23948C #8C2394
tetradic
#948C23 #239453 #232B94 #942363
square
#948C23 #239453 #232B94 #942363
split-complementary
#948C23 #236394 #532394
monochromatic
#312E0C #635D17 #948C23 #C5BB2F #D8CF5A

Accessibility & contrast

On white

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

On black

6.03
#948C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948C23
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948C23#FFFFFF#000000##000000
##948C231.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870D
Deuteranopia (green-blind)
#9C8B2B
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948c23;
/* rgb */ color: rgb(148, 140, 35);
/* oklch */ color: oklch(62.8% 0.121 104.9);
Tailwind
colors: {
  custom: {
    50: '#b7ad67',
    500: '#948c23',
    950: '#000000',
  },
}
SCSS
$custom: #948c23;
$custom-light: #b7ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#948c23",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 55.752,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62827,
    "c": 0.121,
    "h": 104.9
  },
  "luminance": 0.25173
}

Semantic roles & 50–950 ramp

primary
#948C23
secondary
#575EBC
accent
#4EE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948C23

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

Preview Lab → · Contrast checker → · Palette generator →

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