#968A1E#968A1E

#968A1E is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.122 H 102.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#968A1E
RGBrgb(150, 138, 30)
HSLhsl(54, 67%, 35%)
HSVhsv(54, 80%, 59%)
CMYKcmyk(0%, 8%, 80%, 41.2%)
CIE-LABlab(56.84, -7.41, 54.67)
CIE-LCHlch(56.84, 55.17, 97.72°)
OKLaboklab(62.54% -0.0266 0.1188)
OKLCHoklch(62.54% 0.122 102.6)
XYZxyz(21.9015, 24.7557, 4.8527)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A1E #1E2A96
analogous
#964E1E #968A1E #66961E
triadic
#968A1E #1E968A #8A1E96
tetradic
#968A1E #1E964E #1E2A96 #961E66
square
#968A1E #1E964E #1E2A96 #961E66
split-complementary
#968A1E #1E6696 #4E1E96
monochromatic
#302C0A #635B14 #968A1E #C9B928 #DCCF52

Accessibility & contrast

On white

3.53
#968A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#968A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A1E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A1E#FFFFFF#000000##000000
##968A1E1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#A28076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a1e;
/* rgb */ color: rgb(150, 138, 30);
/* oklch */ color: oklch(62.5% 0.122 102.6);
Tailwind
colors: {
  custom: {
    50: '#b9ab64',
    500: '#968a1e',
    950: '#000000',
  },
}
SCSS
$custom: #968a1e;
$custom-light: #b9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#968a1e",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 54,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62538,
    "c": 0.12176,
    "h": 102.6
  },
  "luminance": 0.24755
}

Semantic roles & 50–950 ramp

primary
#968A1E
secondary
#505BBF
accent
#4FEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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