#968B1C#968B1C

#968B1C is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.124 H 103.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#968B1C
RGBrgb(150, 139, 28)
HSLhsl(55, 69%, 35%)
HSVhsv(55, 81%, 59%)
CMYKcmyk(0%, 7.3%, 81.3%, 41.2%)
CIE-LABlab(57.11, -8.03, 55.54)
CIE-LCHlch(57.11, 56.12, 98.23°)
OKLaboklab(62.75% -0.0286 0.1203)
OKLCHoklch(62.75% 0.124 103.4)
XYZxyz(22.0209, 25.0341, 4.7705)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B1C #1C2796
analogous
#964E1C #968B1C #64961C
triadic
#968B1C #1C968B #8B1C96
tetradic
#968B1C #1C964E #1C2796 #961C64
square
#968B1C #1C964E #1C2796 #961C64
split-complementary
#968B1C #1C6496 #4E1C96
monochromatic
#2F2B09 #625B12 #968B1C #CABB26 #DED14E

Accessibility & contrast

On white

3.50
#968B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#968B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B1C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B1C#FFFFFF#000000##000000
##968B1C1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9C8B25
Tritanopia (blue-blind)
#A28177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b1c;
/* rgb */ color: rgb(150, 139, 28);
/* oklch */ color: oklch(62.8% 0.124 103.4);
Tailwind
colors: {
  custom: {
    50: '#b9ac63',
    500: '#968b1c',
    950: '#000000',
  },
}
SCSS
$custom: #968b1c;
$custom-light: #b9ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#968b1c",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 54.59,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.12362,
    "h": 103.4
  },
  "luminance": 0.25033
}

Semantic roles & 50–950 ramp

primary
#968B1C
secondary
#4D58C1
accent
#4CEB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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