#948823#948823

#948823 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.117 H 102.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#948823
RGBrgb(148, 136, 35)
HSLhsl(54, 62%, 36%)
HSVhsv(54, 76%, 58%)
CMYKcmyk(0%, 8.1%, 76.4%, 42%)
CIE-LABlab(56.11, -7.03, 52.22)
CIE-LCHlch(56.11, 52.69, 97.67°)
OKLaboklab(61.93% -0.025 0.1147)
OKLCHoklch(61.93% 0.117 102.3)
XYZxyz(21.3213, 24.0265, 5.1043)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948823 #232F94
analogous
#944F23 #948823 #679423
triadic
#948823 #239488 #882394
tetradic
#948823 #23944F #232F94 #942367
square
#948823 #23944F #232F94 #942367
split-complementary
#948823 #236794 #4F2394
monochromatic
#312D0C #635B17 #948823 #C5B52F #D8CA5A

Accessibility & contrast

On white

3.62
#948823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#948823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948823
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948823#FFFFFF#000000##000000
##9488231.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840F
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A07E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #948823;
/* rgb */ color: rgb(148, 136, 35);
/* oklch */ color: oklch(61.9% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#b7aa66',
    500: '#948823',
    950: '#000000',
  },
}
SCSS
$custom: #948823;
$custom-light: #b7aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#948823",
  "rgb": {
    "r": 148,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 53.628,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.11737,
    "h": 102.3
  },
  "luminance": 0.24026
}

Semantic roles & 50–950 ramp

primary
#948823
secondary
#5761BC
accent
#54E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948823

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

Preview Lab → · Contrast checker → · Palette generator →

#948823 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva