#948121#948121

#948121 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.113 H 97.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#948121
RGBrgb(148, 129, 33)
HSLhsl(50, 64%, 35%)
HSVhsv(50, 78%, 58%)
CMYKcmyk(0%, 12.8%, 77.7%, 42%)
CIE-LABlab(54.14, -3.27, 51.10)
CIE-LCHlch(54.14, 51.21, 93.66°)
OKLaboklab(60.36% -0.0145 0.1119)
OKLCHoklch(60.36% 0.113 97.4)
XYZxyz(20.3386, 22.1073, 4.6344)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948121 #213494
analogous
#944721 #948121 #6D9421
triadic
#948121 #219481 #812194
tetradic
#948121 #219447 #213494 #94216D
square
#948121 #219447 #213494 #94216D
split-complementary
#948121 #216D94 #472194
monochromatic
#302A0B #625516 #948121 #C6AD2C #D9C456

Accessibility & contrast

On white

3.87
#948121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#948121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948121
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948121#FFFFFF#000000##000000
##9481211.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#A0776F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #948121;
/* rgb */ color: rgb(148, 129, 33);
/* oklch */ color: oklch(60.4% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#b7a564',
    500: '#948121',
    950: '#000000',
  },
}
SCSS
$custom: #948121;
$custom-light: #b7a564;
$custom-dark: #000000;
JSON
{
  "hex": "#948121",
  "rgb": {
    "r": 148,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 50.087,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.11283,
    "h": 97.4
  },
  "luminance": 0.22106
}

Semantic roles & 50–950 ramp

primary
#948121
secondary
#5465BD
accent
#5DE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948121

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

Preview Lab → · Contrast checker → · Palette generator →

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