#968E27#968E27

#968E27 is a light, vivid 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#968E27
RGBrgb(150, 142, 39)
HSLhsl(56, 59%, 37%)
HSVhsv(56, 74%, 59%)
CMYKcmyk(0%, 5.3%, 74%, 41.2%)
CIE-LABlab(58.02, -9.19, 52.61)
CIE-LCHlch(58.02, 53.41, 99.91°)
OKLaboklab(63.49% -0.0308 0.1162)
OKLCHoklch(63.49% 0.12 104.8)
XYZxyz(22.6178, 25.9774, 5.7418)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E27 #272F96
analogous
#965727 #968E27 #669627
triadic
#968E27 #27968E #8E2796
tetradic
#968E27 #279657 #272F96 #962766
square
#968E27 #279657 #272F96 #962766
split-complementary
#968E27 #276696 #572796
monochromatic
#35320E #65601A #968E27 #C7BC34 #D6CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968E27#FFFFFF#000000##000000
##968E271.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)
#9B8914
Deuteranopia (green-blind)
#9E8D2E
Tritanopia (blue-blind)
#A1847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968e27;
/* rgb */ color: rgb(150, 142, 39);
/* oklch */ color: oklch(63.5% 0.120 104.8);
Tailwind
colors: {
  custom: {
    50: '#b8ae69',
    500: '#968e27',
    950: '#000000',
  },
}
SCSS
$custom: #968e27;
$custom-light: #b8ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#968e27",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 55.676,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63492,
    "c": 0.12022,
    "h": 104.8
  },
  "luminance": 0.25977
}

Semantic roles & 50–950 ramp

primary
#968E27
secondary
#5D64BC
accent
#51E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968E27

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

Preview Lab → · Contrast checker → · Palette generator →

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