#948017#948017

#948017 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.1% C 0.117 H 97.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#948017
RGBrgb(148, 128, 23)
HSLhsl(50, 73%, 34%)
HSVhsv(50, 84%, 58%)
CMYKcmyk(0%, 13.5%, 84.5%, 42%)
CIE-LABlab(53.81, -3.08, 54.10)
CIE-LCHlch(53.81, 54.19, 93.26°)
OKLaboklab(60.08% -0.015 0.1162)
OKLCHoklch(60.08% 0.117 97.3)
XYZxyz(20.0877, 21.7972, 3.9597)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948017 #172B94
analogous
#944117 #948017 #699417
triadic
#948017 #179480 #801794
tetradic
#948017 #179441 #172B94 #941769
square
#948017 #179441 #172B94 #941769
split-complementary
#948017 #176994 #411794
monochromatic
#2A2407 #5F520F #948017 #C9AE1F #E2C944

Accessibility & contrast

On white

3.92
#948017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#948017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948017
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948017#FFFFFF#000000##000000
##9480171.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#938320
Tritanopia (blue-blind)
#A0756D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #948017;
/* rgb */ color: rgb(148, 128, 23);
/* oklch */ color: oklch(60.1% 0.117 97.3);
Tailwind
colors: {
  custom: {
    50: '#b8a460',
    500: '#948017',
    950: '#000000',
  },
}
SCSS
$custom: #948017;
$custom-light: #b8a460;
$custom-dark: #000000;
JSON
{
  "hex": "#948017",
  "rgb": {
    "r": 148,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 50.4,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60081,
    "c": 0.1172,
    "h": 97.3
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#948017
secondary
#4458C3
accent
#55F038
background
#FBFAF5
surface
#F7F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #948017

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

Preview Lab → · Contrast checker → · Palette generator →

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