#968A28#968A28

#968A28 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.116 H 102.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#968A28
RGBrgb(150, 138, 40)
HSLhsl(53, 58%, 37%)
HSVhsv(53, 73%, 59%)
CMYKcmyk(0%, 8%, 73.3%, 41.2%)
CIE-LABlab(56.89, -6.97, 51.15)
CIE-LCHlch(56.89, 51.62, 97.76°)
OKLaboklab(62.6% -0.0244 0.1133)
OKLCHoklch(62.6% 0.116 102.2)
XYZxyz(22.0501, 24.8151, 5.6354)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A28 #283496
analogous
#965328 #968A28 #6B9628
triadic
#968A28 #28968A #8A2896
tetradic
#968A28 #289653 #283496 #96286B
square
#968A28 #289653 #283496 #96286B
split-complementary
#968A28 #286B96 #532896
monochromatic
#35310E #665E1B #968A28 #C6B635 #D5C963

Accessibility & contrast

On white

3.52
#968A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#968A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A28
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A28#FFFFFF#000000##000000
##968A281.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978618
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#A28077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a28;
/* rgb */ color: rgb(150, 138, 40);
/* oklch */ color: oklch(62.6% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b8ab69',
    500: '#968a28',
    950: '#000000',
  },
}
SCSS
$custom: #968a28;
$custom-light: #b8ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#968a28",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 53.455,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62602,
    "c": 0.1159,
    "h": 102.2
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#968A28
secondary
#5F69BB
accent
#58E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968A28

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

Preview Lab → · Contrast checker → · Palette generator →

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