#968E28#968E28

#968E28 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.120 H 104.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#968E28
RGBrgb(150, 142, 40)
HSLhsl(56, 58%, 37%)
HSVhsv(56, 73%, 59%)
CMYKcmyk(0%, 5.3%, 73.3%, 41.2%)
CIE-LABlab(58.02, -9.14, 52.24)
CIE-LCHlch(58.02, 53.04, 99.93°)
OKLaboklab(63.5% -0.0305 0.1156)
OKLCHoklch(63.5% 0.12 104.8)
XYZxyz(22.6346, 25.9841, 5.8302)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E28 #283096
analogous
#965728 #968E28 #679628
triadic
#968E28 #28968E #8E2896
tetradic
#968E28 #289657 #283096 #962867
square
#968E28 #289657 #283096 #962867
split-complementary
#968E28 #286796 #572896
monochromatic
#35330E #66601B #968E28 #C6BC35 #D5CD63

Accessibility & contrast

On white

3.39
#968E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#968E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968E28
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968E28#FFFFFF#000000##000000
##968E281.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#9E8D2F
Tritanopia (blue-blind)
#A1847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968e28;
/* rgb */ color: rgb(150, 142, 40);
/* oklch */ color: oklch(63.5% 0.120 104.8);
Tailwind
colors: {
  custom: {
    50: '#b8ae69',
    500: '#968e28',
    950: '#000000',
  },
}
SCSS
$custom: #968e28;
$custom-light: #b8ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#968e28",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 55.636,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63499,
    "c": 0.11959,
    "h": 104.8
  },
  "luminance": 0.25983
}

Semantic roles & 50–950 ramp

primary
#968E28
secondary
#5F65BB
accent
#52E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968E28

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

Preview Lab → · Contrast checker → · Palette generator →

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