#978243#978243

#978243 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.086 H 91.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#978243
RGBrgb(151, 130, 67)
HSLhsl(45, 39%, 43%)
HSVhsv(45, 56%, 59%)
CMYKcmyk(0%, 13.9%, 55.6%, 40.8%)
CIE-LABlab(55.02, -0.26, 36.66)
CIE-LCHlch(55.02, 36.66, 90.40°)
OKLaboklab(61.22% -0.0019 0.0864)
OKLCHoklch(61.22% 0.086 91.3)
XYZxyz(21.7591, 22.9509, 8.5929)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978243 #435897
analogous
#975843 #978243 #829743
triadic
#978243 #439782 #824397
tetradic
#978243 #439758 #435897 #974382
square
#978243 #439758 #435897 #974382
split-complementary
#978243 #438297 #584397
monochromatic
#42391D #6D5E30 #978243 #B8A25F #CBBB8A

Accessibility & contrast

On white

3.76
#978243 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#978243 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978243
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978243#FFFFFF#000000##000000
##9782431.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803D
Deuteranopia (green-blind)
#938645
Tritanopia (blue-blind)
#A27973
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978243;
/* rgb */ color: rgb(151, 130, 67);
/* oklch */ color: oklch(61.2% 0.086 91.3);
Tailwind
colors: {
  custom: {
    50: '#b8a679',
    500: '#978243',
    950: '#000000',
  },
}
SCSS
$custom: #978243;
$custom-light: #b8a679;
$custom-dark: #000000;
JSON
{
  "hex": "#978243",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 45,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.08646,
    "h": 91.3
  },
  "luminance": 0.2295
}

Semantic roles & 50–950 ramp

primary
#978243
secondary
#808DB6
accent
#77CE59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #978243

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

Preview Lab → · Contrast checker → · Palette generator →

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