#978230#978230

#978230 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.104 H 94.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#978230
RGBrgb(151, 130, 48)
HSLhsl(48, 52%, 39%)
HSVhsv(48, 68%, 59%)
CMYKcmyk(0%, 13.9%, 68.2%, 40.8%)
CIE-LABlab(54.82, -1.67, 45.72)
CIE-LCHlch(54.82, 45.75, 92.09°)
OKLaboklab(61% -0.0084 0.1032)
OKLCHoklch(61% 0.104 94.7)
XYZxyz(21.2797, 22.7591, 6.0678)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978230 #304597
analogous
#974F30 #978230 #799730
triadic
#978230 #309782 #823097
tetradic
#978230 #30974F #304597 #973079
square
#978230 #30974F #304597 #973079
split-complementary
#978230 #307997 #4F3097
monochromatic
#3A3212 #695A21 #978230 #C3A841 #D2BE70

Accessibility & contrast

On white

3.78
#978230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#978230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978230
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978230#FFFFFF#000000##000000
##9782301.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978230;
/* rgb */ color: rgb(151, 130, 48);
/* oklch */ color: oklch(61.0% 0.104 94.7);
Tailwind
colors: {
  custom: {
    50: '#b9a66d',
    500: '#978230',
    950: '#000000',
  },
}
SCSS
$custom: #978230;
$custom-light: #b9a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#978230",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 47.767,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61003,
    "c": 0.10358,
    "h": 94.7
  },
  "luminance": 0.22758
}

Semantic roles & 50–950 ramp

primary
#978230
secondary
#6A7AB9
accent
#6ADB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978230

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

Preview Lab → · Contrast checker → · Palette generator →

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