#948022#948022

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

Color values

HEX#948022
RGBrgb(148, 128, 34)
HSLhsl(49, 63%, 36%)
HSVhsv(49, 77%, 58%)
CMYKcmyk(0%, 13.5%, 77%, 42%)
CIE-LABlab(53.87, -2.67, 50.48)
CIE-LCHlch(53.87, 50.55, 93.02°)
OKLaboklab(60.14% -0.0127 0.1108)
OKLCHoklch(60.14% 0.112 96.6)
XYZxyz(20.2217, 21.8508, 4.6656)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948022 #223694
analogous
#944722 #948022 #6F9422
triadic
#948022 #229480 #802294
tetradic
#948022 #229447 #223694 #94226F
square
#948022 #229447 #223694 #94226F
split-complementary
#948022 #226F94 #472294
monochromatic
#302A0B #625517 #948022 #C6AB2D #D9C258

Accessibility & contrast

On white

3.91
#948022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#948022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948022
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948022#FFFFFF#000000##000000
##9480221.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#A0766E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #948022;
/* rgb */ color: rgb(148, 128, 34);
/* oklch */ color: oklch(60.1% 0.112 96.6);
Tailwind
colors: {
  custom: {
    50: '#b7a465',
    500: '#948022',
    950: '#000000',
  },
}
SCSS
$custom: #948022;
$custom-light: #b7a465;
$custom-dark: #000000;
JSON
{
  "hex": "#948022",
  "rgb": {
    "r": 148,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 49.474,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.1115,
    "h": 96.6
  },
  "luminance": 0.2185
}

Semantic roles & 50–950 ramp

primary
#948022
secondary
#5567BD
accent
#5FE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948022

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

Preview Lab → · Contrast checker → · Palette generator →

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