#968D27#968D27

#968D27 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.119 H 104.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#968D27
RGBrgb(150, 141, 39)
HSLhsl(55, 59%, 37%)
HSVhsv(55, 74%, 59%)
CMYKcmyk(0%, 6%, 74%, 41.2%)
CIE-LABlab(57.73, -8.65, 52.34)
CIE-LCHlch(57.73, 53.05, 99.38°)
OKLaboklab(63.27% -0.0293 0.1156)
OKLCHoklch(63.27% 0.119 104.2)
XYZxyz(22.4697, 25.6812, 5.6924)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D27 #273096
analogous
#965627 #968D27 #689627
triadic
#968D27 #27968D #8D2796
tetradic
#968D27 #279656 #273096 #962768
square
#968D27 #279656 #273096 #962768
split-complementary
#968D27 #276896 #562796
monochromatic
#35320E #655F1A #968D27 #C7BB34 #D6CD61

Accessibility & contrast

On white

3.42
#968D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#968D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D27
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D27#FFFFFF#000000##000000
##968D271.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d27;
/* rgb */ color: rgb(150, 141, 39);
/* oklch */ color: oklch(63.3% 0.119 104.2);
Tailwind
colors: {
  custom: {
    50: '#b8ae69',
    500: '#968d27',
    950: '#000000',
  },
}
SCSS
$custom: #968d27;
$custom-light: #b8ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#968d27",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 55.135,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63267,
    "c": 0.11928,
    "h": 104.2
  },
  "luminance": 0.2568
}

Semantic roles & 50–950 ramp

primary
#968D27
secondary
#5D65BC
accent
#53E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968D27

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

Preview Lab → · Contrast checker → · Palette generator →

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