#979233#979233

#979233 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.6% C 0.116 H 106.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#979233
RGBrgb(151, 146, 51)
HSLhsl(57, 50%, 40%)
HSVhsv(57, 66%, 59%)
CMYKcmyk(0%, 3.3%, 66.2%, 40.8%)
CIE-LABlab(59.32, -10.22, 49.10)
CIE-LCHlch(59.32, 50.15, 101.76°)
OKLaboklab(64.58% -0.0324 0.1109)
OKLCHoklch(64.58% 0.116 106.3)
XYZxyz(23.6398, 27.3769, 7.1703)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979233 #333897
analogous
#976033 #979233 #6A9733
triadic
#979233 #339792 #923397
tetradic
#979233 #339760 #333897 #97336A
square
#979233 #339760 #333897 #97336A
split-complementary
#979233 #336A97 #603397
monochromatic
#3C3A14 #696624 #979233 #C1BB47 #D0CC74

Accessibility & contrast

On white

3.24
#979233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#979233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979233
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979233#FFFFFF#000000##000000
##9792331.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D26
Deuteranopia (green-blind)
#A09139
Tritanopia (blue-blind)
#A2887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979233;
/* rgb */ color: rgb(151, 146, 51);
/* oklch */ color: oklch(64.6% 0.116 106.3);
Tailwind
colors: {
  custom: {
    50: '#b8b170',
    500: '#979233',
    950: '#000000',
  },
}
SCSS
$custom: #979233;
$custom-light: #b8b170;
$custom-dark: #000000;
JSON
{
  "hex": "#979233",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 51
  },
  "hsl": {
    "h": 57,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64581,
    "c": 0.11555,
    "h": 106.3
  },
  "luminance": 0.27376
}

Semantic roles & 50–950 ramp

primary
#979233
secondary
#6D71B8
accent
#56D94F
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #979233

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

Preview Lab → · Contrast checker → · Palette generator →

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