#998645#998645

#998645 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.088 H 93.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#998645
RGBrgb(153, 134, 69)
HSLhsl(46, 38%, 44%)
HSVhsv(46, 55%, 60%)
CMYKcmyk(0%, 12.4%, 54.9%, 40%)
CIE-LABlab(56.34, -1.43, 37.24)
CIE-LCHlch(56.34, 37.27, 92.19°)
OKLaboklab(62.32% -0.0052 0.0879)
OKLCHoklch(62.32% 0.088 93.4)
XYZxyz(22.7370, 24.2532, 9.1128)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998645 #455899
analogous
#995C45 #998645 #829945
triadic
#998645 #459986 #864599
tetradic
#998645 #45995C #455899 #994582
square
#998645 #45995C #455899 #994582
split-complementary
#998645 #458299 #5C4599
monochromatic
#453C1F #6F6132 #998645 #B9A563 #CCBD8D

Accessibility & contrast

On white

3.59
#998645 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#998645 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998645
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998645#FFFFFF#000000##000000
##9986451.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843F
Deuteranopia (green-blind)
#978A48
Tritanopia (blue-blind)
#A47D77
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998645;
/* rgb */ color: rgb(153, 134, 69);
/* oklch */ color: oklch(62.3% 0.088 93.4);
Tailwind
colors: {
  custom: {
    50: '#b9a97a',
    500: '#998645',
    950: '#000000',
  },
}
SCSS
$custom: #998645;
$custom-light: #b9a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#998645",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 69
  },
  "hsl": {
    "h": 46.429,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.08803,
    "h": 93.4
  },
  "luminance": 0.24252
}

Semantic roles & 50–950 ramp

primary
#998645
secondary
#838FB7
accent
#74CE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #998645

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

Preview Lab → · Contrast checker → · Palette generator →

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