#968C27#968C27

#968C27 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.118 H 103.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#968C27
RGBrgb(150, 140, 39)
HSLhsl(55, 59%, 37%)
HSVhsv(55, 74%, 59%)
CMYKcmyk(0%, 6.7%, 74%, 41.2%)
CIE-LABlab(57.45, -8.11, 52.07)
CIE-LCHlch(57.45, 52.70, 98.85°)
OKLaboklab(63.04% -0.0277 0.1151)
OKLCHoklch(63.04% 0.118 103.6)
XYZxyz(22.3229, 25.3876, 5.6435)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C27 #273196
analogous
#965527 #968C27 #689627
triadic
#968C27 #27968C #8C2796
tetradic
#968C27 #279655 #273196 #962768
square
#968C27 #279655 #273196 #962768
split-complementary
#968C27 #276896 #552796
monochromatic
#35310E #655F1A #968C27 #C7B934 #D6CC61

Accessibility & contrast

On white

3.46
#968C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#968C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C27
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C27#FFFFFF#000000##000000
##968C271.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c27;
/* rgb */ color: rgb(150, 140, 39);
/* oklch */ color: oklch(63.0% 0.118 103.6);
Tailwind
colors: {
  custom: {
    50: '#b8ad69',
    500: '#968c27',
    950: '#000000',
  },
}
SCSS
$custom: #968c27;
$custom-light: #b8ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#968c27",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 54.595,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63043,
    "c": 0.11835,
    "h": 103.6
  },
  "luminance": 0.25387
}

Semantic roles & 50–950 ramp

primary
#968C27
secondary
#5D66BC
accent
#54E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968C27

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

Preview Lab → · Contrast checker → · Palette generator →

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