#948124#948124

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

Color values

HEX#948124
RGBrgb(148, 129, 36)
HSLhsl(50, 61%, 36%)
HSVhsv(50, 76%, 58%)
CMYKcmyk(0%, 12.8%, 75.7%, 42%)
CIE-LABlab(54.16, -3.13, 49.99)
CIE-LCHlch(54.16, 50.09, 93.58°)
OKLaboklab(60.38% -0.0138 0.1102)
OKLCHoklch(60.38% 0.111 97.2)
XYZxyz(20.3825, 22.1249, 4.8656)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948124 #243794
analogous
#944924 #948124 #6F9424
triadic
#948124 #249481 #812494
tetradic
#948124 #249449 #243794 #94246F
square
#948124 #249449 #243794 #94246F
split-complementary
#948124 #246F94 #492494
monochromatic
#322B0C #635618 #948124 #C5AC30 #D7C25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948124#FFFFFF#000000##000000
##9481241.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)
#8E7E14
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#A0776F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #948124;
/* rgb */ color: rgb(148, 129, 36);
/* oklch */ color: oklch(60.4% 0.111 97.2);
Tailwind
colors: {
  custom: {
    50: '#b7a566',
    500: '#948124',
    950: '#000000',
  },
}
SCSS
$custom: #948124;
$custom-light: #b7a566;
$custom-dark: #000000;
JSON
{
  "hex": "#948124",
  "rgb": {
    "r": 148,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 49.821,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.11102,
    "h": 97.2
  },
  "luminance": 0.22124
}

Semantic roles & 50–950 ramp

primary
#948124
secondary
#5869BC
accent
#5FE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948124

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

Preview Lab → · Contrast checker → · Palette generator →

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