#968027#968027

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

Color values

HEX#968027
RGBrgb(150, 128, 39)
HSLhsl(48, 59%, 37%)
HSVhsv(48, 74%, 59%)
CMYKcmyk(0%, 14.7%, 74%, 41.2%)
CIE-LABlab(54.10, -1.51, 48.81)
CIE-LCHlch(54.10, 48.84, 91.77°)
OKLaboklab(60.39% -0.009 0.1082)
OKLCHoklch(60.39% 0.109 94.8)
XYZxyz(20.6641, 22.0700, 5.0906)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968027 #273D96
analogous
#964927 #968027 #759627
triadic
#968027 #279680 #802796
tetradic
#968027 #279649 #273D96 #962775
square
#968027 #279649 #273D96 #962775
split-complementary
#968027 #277596 #492796
monochromatic
#352D0E #65571A #968027 #C7A934 #D6BF61

Accessibility & contrast

On white

3.88
#968027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#968027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968027
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968027#FFFFFF#000000##000000
##9680271.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#A2766E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #968027;
/* rgb */ color: rgb(150, 128, 39);
/* oklch */ color: oklch(60.4% 0.109 94.8);
Tailwind
colors: {
  custom: {
    50: '#b8a467',
    500: '#968027',
    950: '#000000',
  },
}
SCSS
$custom: #968027;
$custom-light: #b8a467;
$custom-dark: #000000;
JSON
{
  "hex": "#968027",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 48.108,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.10854,
    "h": 94.8
  },
  "luminance": 0.22069
}

Semantic roles & 50–950 ramp

primary
#968027
secondary
#5D70BC
accent
#65E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968027

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

Preview Lab → · Contrast checker → · Palette generator →

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