#968138#968138

#968138 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.096 H 93.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#968138
RGBrgb(150, 129, 56)
HSLhsl(47, 46%, 40%)
HSVhsv(47, 63%, 59%)
CMYKcmyk(0%, 14%, 62.7%, 41.2%)
CIE-LABlab(54.52, -1.03, 41.61)
CIE-LCHlch(54.52, 41.62, 91.41°)
OKLaboklab(60.77% -0.0055 0.0958)
OKLCHoklch(60.77% 0.096 93.3)
XYZxyz(21.1427, 22.4711, 6.9643)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968138 #384D96
analogous
#965238 #968138 #7C9638
triadic
#968138 #389681 #813896
tetradic
#968138 #389652 #384D96 #96387C
square
#968138 #389652 #384D96 #96387C
split-complementary
#968138 #387C96 #523896
monochromatic
#3D3417 #695B27 #968138 #BDA44E #CEBB7B

Accessibility & contrast

On white

3.82
#968138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#968138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968138
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968138#FFFFFF#000000##000000
##9681381.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F30
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#A27871
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968138;
/* rgb */ color: rgb(150, 129, 56);
/* oklch */ color: oklch(60.8% 0.096 93.3);
Tailwind
colors: {
  custom: {
    50: '#b8a571',
    500: '#968138',
    950: '#000000',
  },
}
SCSS
$custom: #968138;
$custom-light: #b8a571;
$custom-dark: #000000;
JSON
{
  "hex": "#968138",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 46.596,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.09595,
    "h": 93.3
  },
  "luminance": 0.2247
}

Semantic roles & 50–950 ramp

primary
#968138
secondary
#7382B7
accent
#70D552
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #968138

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

Preview Lab → · Contrast checker → · Palette generator →

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