#97843A#97843A

#97843A is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.097 H 95.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#97843A
RGBrgb(151, 132, 58)
HSLhsl(48, 44%, 41%)
HSVhsv(48, 62%, 59%)
CMYKcmyk(0%, 12.6%, 61.6%, 40.8%)
CIE-LABlab(55.47, -2.10, 41.72)
CIE-LCHlch(55.47, 41.77, 92.88°)
OKLaboklab(61.54% -0.0084 0.0963)
OKLCHoklch(61.54% 0.097 95)
XYZxyz(21.7784, 23.3884, 7.3694)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97843A #3A4D97
analogous
#97553A #97843A #7B973A
triadic
#97843A #3A9784 #843A97
tetradic
#97843A #3A9755 #3A4D97 #973A7B
square
#97843A #3A9755 #3A4D97 #973A7B
split-complementary
#97843A #3A7B97 #553A97
monochromatic
#3F3718 #6B5D29 #97843A #BCA752 #CDBD7E

Accessibility & contrast

On white

3.70
#97843A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#97843A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97843A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97843A#FFFFFF#000000##000000
##97843A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918132
Deuteranopia (green-blind)
#95873D
Tritanopia (blue-blind)
#A27B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #97843a;
/* rgb */ color: rgb(151, 132, 58);
/* oklch */ color: oklch(61.5% 0.097 95.0);
Tailwind
colors: {
  custom: {
    50: '#b8a773',
    500: '#97843a',
    950: '#000000',
  },
}
SCSS
$custom: #97843a;
$custom-light: #b8a773;
$custom-dark: #000000;
JSON
{
  "hex": "#97843a",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 58
  },
  "hsl": {
    "h": 47.742,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61544,
    "c": 0.09665,
    "h": 95
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#97843A
secondary
#7683B7
accent
#6ED454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97843A

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

Preview Lab → · Contrast checker → · Palette generator →

#97843A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva