#998341#998341

#998341 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.090 H 91.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#998341
RGBrgb(153, 131, 65)
HSLhsl(45, 40%, 43%)
HSVhsv(45, 58%, 60%)
CMYKcmyk(0%, 14.4%, 57.5%, 40%)
CIE-LABlab(55.47, -0.10, 38.27)
CIE-LCHlch(55.47, 38.27, 90.15°)
OKLaboklab(61.61% -0.0019 0.0897)
OKLCHoklch(61.61% 0.09 91.2)
XYZxyz(22.2082, 23.3877, 8.3445)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998341 #415799
analogous
#995741 #998341 #839941
triadic
#998341 #419983 #834199
tetradic
#998341 #419957 #415799 #994183
square
#998341 #419957 #415799 #994183
split-complementary
#998341 #418399 #574199
monochromatic
#43391D #6E5E2F #998341 #BAA35D #CCBB88

Accessibility & contrast

On white

3.70
#998341 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#998341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##998341#FFFFFF#000000##000000
##9983411.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)
#8F813B
Deuteranopia (green-blind)
#958844
Tritanopia (blue-blind)
#A47A74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #998341;
/* rgb */ color: rgb(153, 131, 65);
/* oklch */ color: oklch(61.6% 0.090 91.2);
Tailwind
colors: {
  custom: {
    50: '#b9a678',
    500: '#998341',
    950: '#000000',
  },
}
SCSS
$custom: #998341;
$custom-light: #b9a678;
$custom-dark: #000000;
JSON
{
  "hex": "#998341",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 45,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.0897,
    "h": 91.2
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#998341
secondary
#7F8DB7
accent
#76D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #998341

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

Preview Lab → · Contrast checker → · Palette generator →

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