#998640#998640

#998640 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.093 H 94.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#998640
RGBrgb(153, 134, 64)
HSLhsl(47, 41%, 43%)
HSVhsv(47, 58%, 60%)
CMYKcmyk(0%, 12.4%, 58.2%, 40%)
CIE-LABlab(56.28, -1.85, 39.72)
CIE-LCHlch(56.28, 39.76, 92.67°)
OKLaboklab(62.25% -0.0071 0.0927)
OKLCHoklch(62.25% 0.093 94.4)
XYZxyz(22.5883, 24.1937, 8.3295)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998640 #405399
analogous
#995940 #998640 #809940
triadic
#998640 #409986 #864099
tetradic
#998640 #409959 #405399 #994080
square
#998640 #409959 #405399 #994080
split-complementary
#998640 #408099 #594099
monochromatic
#433A1C #6E602E #998640 #BBA65C #CDBE87

Accessibility & contrast

On white

3.60
#998640 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#998640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998640
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998640#FFFFFF#000000##000000
##9986401.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928439
Deuteranopia (green-blind)
#978943
Tritanopia (blue-blind)
#A47D76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998640;
/* rgb */ color: rgb(153, 134, 64);
/* oklch */ color: oklch(62.3% 0.093 94.4);
Tailwind
colors: {
  custom: {
    50: '#b9a977',
    500: '#998640',
    950: '#000000',
  },
}
SCSS
$custom: #998640;
$custom-light: #b9a977;
$custom-dark: #000000;
JSON
{
  "hex": "#998640",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 47.191,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.09298,
    "h": 94.4
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#998640
secondary
#7E8AB7
accent
#71D157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #998640

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

Preview Lab → · Contrast checker → · Palette generator →

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