#968727#968727

#968727 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.114 H 100.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#968727
RGBrgb(150, 135, 39)
HSLhsl(52, 59%, 37%)
HSVhsv(52, 74%, 59%)
CMYKcmyk(0%, 10%, 74%, 41.2%)
CIE-LABlab(56.05, -5.38, 50.71)
CIE-LCHlch(56.05, 51.00, 96.06°)
OKLaboklab(61.93% -0.02 0.1122)
OKLCHoklch(61.93% 0.114 100.1)
XYZxyz(21.6089, 23.9595, 5.4055)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968727 #273696
analogous
#965027 #968727 #6E9627
triadic
#968727 #279687 #872796
tetradic
#968727 #279650 #273696 #96276E
square
#968727 #279650 #273696 #96276E
split-complementary
#968727 #276E96 #502796
monochromatic
#35300E #655B1A #968727 #C7B334 #D6C661

Accessibility & contrast

On white

3.63
#968727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#968727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968727
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968727#FFFFFF#000000##000000
##9687271.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#A27D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #968727;
/* rgb */ color: rgb(150, 135, 39);
/* oklch */ color: oklch(61.9% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b8a968',
    500: '#968727',
    950: '#000000',
  },
}
SCSS
$custom: #968727;
$custom-light: #b8a968;
$custom-dark: #000000;
JSON
{
  "hex": "#968727",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 51.892,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.11396,
    "h": 100.1
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

primary
#968727
secondary
#5D6ABC
accent
#5BE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968727

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

Preview Lab → · Contrast checker → · Palette generator →

#968727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva