#968A20#968A20

#968A20 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.121 H 102.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#968A20
RGBrgb(150, 138, 32)
HSLhsl(54, 65%, 36%)
HSVhsv(54, 79%, 59%)
CMYKcmyk(0%, 8%, 78.7%, 41.2%)
CIE-LABlab(56.85, -7.34, 54.02)
CIE-LCHlch(56.85, 54.51, 97.73°)
OKLaboklab(62.55% -0.0262 0.1178)
OKLCHoklch(62.55% 0.121 102.6)
XYZxyz(21.9279, 24.7662, 4.9916)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A20 #202C96
analogous
#964F20 #968A20 #679620
triadic
#968A20 #20968A #8A2096
tetradic
#968A20 #20964F #202C96 #962067
square
#968A20 #20964F #202C96 #962067
split-complementary
#968A20 #206796 #4F2096
monochromatic
#312D0A #645C15 #968A20 #C8B82B #DBCD56

Accessibility & contrast

On white

3.53
#968A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#968A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A20
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A20#FFFFFF#000000##000000
##968A201.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#A28076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a20;
/* rgb */ color: rgb(150, 138, 32);
/* oklch */ color: oklch(62.5% 0.121 102.6);
Tailwind
colors: {
  custom: {
    50: '#b9ab65',
    500: '#968a20',
    950: '#000000',
  },
}
SCSS
$custom: #968a20;
$custom-light: #b9ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#968a20",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 53.898,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62549,
    "c": 0.12071,
    "h": 102.6
  },
  "luminance": 0.24765
}

Semantic roles & 50–950 ramp

primary
#968A20
secondary
#535EBE
accent
#51E840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A20

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

Preview Lab → · Contrast checker → · Palette generator →

#968A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva