#948A23#948A23

#948A23 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#948A23
RGBrgb(148, 138, 35)
HSLhsl(55, 62%, 36%)
HSVhsv(55, 76%, 58%)
CMYKcmyk(0%, 6.8%, 76.4%, 42%)
CIE-LABlab(56.68, -8.12, 52.75)
CIE-LCHlch(56.68, 53.37, 98.75°)
OKLaboklab(62.38% -0.0281 0.1158)
OKLCHoklch(62.38% 0.119 103.6)
XYZxyz(21.6056, 24.5951, 5.1991)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948A23 #232D94
analogous
#945123 #948A23 #659423
triadic
#948A23 #23948A #8A2394
tetradic
#948A23 #239451 #232D94 #942365
square
#948A23 #239451 #232D94 #942365
split-complementary
#948A23 #236594 #512394
monochromatic
#312E0C #635C17 #948A23 #C5B82F #D8CD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #948a23;
/* rgb */ color: rgb(148, 138, 35);
/* oklch */ color: oklch(62.4% 0.119 103.6);
Tailwind
colors: {
  custom: {
    50: '#b7ab66',
    500: '#948a23',
    950: '#000000',
  },
}
SCSS
$custom: #948a23;
$custom-light: #b7ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#948a23",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 54.69,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.11915,
    "h": 103.6
  },
  "luminance": 0.24594
}

Semantic roles & 50–950 ramp

primary
#948A23
secondary
#5760BC
accent
#51E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948A23

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

Preview Lab → · Contrast checker → · Palette generator →

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