#948523#948523

#948523 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.115 H 100.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#948523
RGBrgb(148, 133, 35)
HSLhsl(52, 62%, 36%)
HSVhsv(52, 76%, 58%)
CMYKcmyk(0%, 10.1%, 76.4%, 42%)
CIE-LABlab(55.27, -5.39, 51.43)
CIE-LCHlch(55.27, 51.71, 95.98°)
OKLaboklab(61.26% -0.0203 0.113)
OKLCHoklch(61.26% 0.115 100.2)
XYZxyz(20.9046, 23.1933, 4.9654)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948523 #233294
analogous
#944C23 #948523 #6A9423
triadic
#948523 #239485 #852394
tetradic
#948523 #23944C #233294 #94236A
square
#948523 #23944C #233294 #94236A
split-complementary
#948523 #236A94 #4C2394
monochromatic
#312C0C #635917 #948523 #C5B12F #D8C75A

Accessibility & contrast

On white

3.72
#948523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#948523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948523
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948523#FFFFFF#000000##000000
##9485231.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#96872A
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948523;
/* rgb */ color: rgb(148, 133, 35);
/* oklch */ color: oklch(61.3% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#b7a866',
    500: '#948523',
    950: '#000000',
  },
}
SCSS
$custom: #948523;
$custom-light: #b7a866;
$custom-dark: #000000;
JSON
{
  "hex": "#948523",
  "rgb": {
    "r": 148,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 52.035,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.11481,
    "h": 100.2
  },
  "luminance": 0.23192
}

Semantic roles & 50–950 ramp

primary
#948523
secondary
#5764BC
accent
#58E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948523

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

Preview Lab → · Contrast checker → · Palette generator →

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