#968A1C#968A1C

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

Color values

HEX#968A1C
RGBrgb(150, 138, 28)
HSLhsl(54, 69%, 35%)
HSVhsv(54, 81%, 59%)
CMYKcmyk(0%, 8%, 81.3%, 41.2%)
CIE-LABlab(56.83, -7.49, 55.29)
CIE-LCHlch(56.83, 55.80, 97.71°)
OKLaboklab(62.53% -0.027 0.1198)
OKLCHoklch(62.53% 0.123 102.7)
XYZxyz(21.8768, 24.7458, 4.7225)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A1C #1C2896
analogous
#964D1C #968A1C #65961C
triadic
#968A1C #1C968A #8A1C96
tetradic
#968A1C #1C964D #1C2896 #961C65
square
#968A1C #1C964D #1C2896 #961C65
split-complementary
#968A1C #1C6596 #4D1C96
monochromatic
#2F2B09 #625B12 #968A1C #CAB926 #DED04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968A1C#FFFFFF#000000##000000
##968A1C1.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)
#978500
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#A28076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a1c;
/* rgb */ color: rgb(150, 138, 28);
/* oklch */ color: oklch(62.5% 0.123 102.7);
Tailwind
colors: {
  custom: {
    50: '#b9ab63',
    500: '#968a1c',
    950: '#000000',
  },
}
SCSS
$custom: #968a1c;
$custom-light: #b9ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#968a1c",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 54.098,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62527,
    "c": 0.12276,
    "h": 102.7
  },
  "luminance": 0.24745
}

Semantic roles & 50–950 ramp

primary
#968A1C
secondary
#4D59C1
accent
#4EEB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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