#958028#958028

#958028 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.3% C 0.108 H 95.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#958028
RGBrgb(149, 128, 40)
HSLhsl(48, 58%, 37%)
HSVhsv(48, 73%, 58%)
CMYKcmyk(0%, 14.1%, 73.2%, 41.6%)
CIE-LABlab(54.01, -1.92, 48.28)
CIE-LCHlch(54.01, 48.32, 92.27°)
OKLaboklab(60.29% -0.01 0.1073)
OKLCHoklch(60.29% 0.108 95.3)
XYZxyz(20.4976, 21.9822, 5.1704)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958028 #283D95
analogous
#954928 #958028 #749528
triadic
#958028 #289580 #802895
tetradic
#958028 #289549 #283D95 #952874
square
#958028 #289549 #283D95 #952874
split-complementary
#958028 #287495 #492895
monochromatic
#352D0E #65571B #958028 #C5A935 #D5BF62

Accessibility & contrast

On white

3.89
#958028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#958028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958028
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958028#FFFFFF#000000##000000
##9580281.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D1B
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#A1766E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #958028;
/* rgb */ color: rgb(149, 128, 40);
/* oklch */ color: oklch(60.3% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#b8a468',
    500: '#958028',
    950: '#000000',
  },
}
SCSS
$custom: #958028;
$custom-light: #b8a468;
$custom-dark: #000000;
JSON
{
  "hex": "#958028",
  "rgb": {
    "r": 149,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 48.44,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.10774,
    "h": 95.3
  },
  "luminance": 0.21981
}

Semantic roles & 50–950 ramp

primary
#958028
secondary
#5E70BB
accent
#65E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958028

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

Preview Lab → · Contrast checker → · Palette generator →

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