#948323#948323

#948323 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.113 H 98.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#948323
RGBrgb(148, 131, 35)
HSLhsl(51, 62%, 36%)
HSVhsv(51, 76%, 58%)
CMYKcmyk(0%, 11.5%, 76.4%, 42%)
CIE-LABlab(54.71, -4.29, 50.90)
CIE-LCHlch(54.71, 51.08, 94.81°)
OKLaboklab(60.81% -0.0172 0.1119)
OKLCHoklch(60.81% 0.113 98.8)
XYZxyz(20.6334, 22.6509, 4.8750)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948323 #233494
analogous
#944A23 #948323 #6C9423
triadic
#948323 #239483 #832394
tetradic
#948323 #23944A #233494 #94236C
square
#948323 #23944A #233494 #94236C
split-complementary
#948323 #236C94 #4A2394
monochromatic
#312B0C #635717 #948323 #C5AF2F #D8C55A

Accessibility & contrast

On white

3.80
#948323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#948323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948323
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948323#FFFFFF#000000##000000
##9483231.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #948323;
/* rgb */ color: rgb(148, 131, 35);
/* oklch */ color: oklch(60.8% 0.113 98.8);
Tailwind
colors: {
  custom: {
    50: '#b7a666',
    500: '#948323',
    950: '#000000',
  },
}
SCSS
$custom: #948323;
$custom-light: #b7a666;
$custom-dark: #000000;
JSON
{
  "hex": "#948323",
  "rgb": {
    "r": 148,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 50.973,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.11319,
    "h": 98.8
  },
  "luminance": 0.2265
}

Semantic roles & 50–950 ramp

primary
#948323
secondary
#5766BC
accent
#5BE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948323

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

Preview Lab → · Contrast checker → · Palette generator →

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