#978123#978123

#978123 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.112 H 95.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#978123
RGBrgb(151, 129, 35)
HSLhsl(49, 62%, 36%)
HSVhsv(49, 77%, 59%)
CMYKcmyk(0%, 14.6%, 76.8%, 40.8%)
CIE-LABlab(54.45, -1.80, 50.76)
CIE-LCHlch(54.45, 50.79, 92.03°)
OKLaboklab(60.68% -0.0103 0.1114)
OKLCHoklch(60.68% 0.112 95.3)
XYZxyz(20.9172, 22.4023, 4.8121)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978123 #233997
analogous
#974723 #978123 #739723
triadic
#978123 #239781 #812397
tetradic
#978123 #239747 #233997 #972373
square
#978123 #239747 #233997 #972373
split-complementary
#978123 #237397 #472397
monochromatic
#342C0C #655717 #978123 #C9AB2F #D9C15B

Accessibility & contrast

On white

3.83
#978123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#978123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978123
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978123#FFFFFF#000000##000000
##9781231.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978123;
/* rgb */ color: rgb(151, 129, 35);
/* oklch */ color: oklch(60.7% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#b9a565',
    500: '#978123',
    950: '#000000',
  },
}
SCSS
$custom: #978123;
$custom-light: #b9a565;
$custom-dark: #000000;
JSON
{
  "hex": "#978123",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 48.621,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.11191,
    "h": 95.3
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#978123
secondary
#586BBE
accent
#61E542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978123

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

Preview Lab → · Contrast checker → · Palette generator →

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