#998729#998729

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

Color values

HEX#998729
RGBrgb(153, 135, 41)
HSLhsl(50, 58%, 38%)
HSVhsv(50, 73%, 60%)
CMYKcmyk(0%, 11.8%, 73.2%, 40%)
CIE-LABlab(56.35, -3.92, 50.31)
CIE-LCHlch(56.35, 50.47, 94.45°)
OKLaboklab(62.24% -0.0158 0.1116)
OKLCHoklch(62.24% 0.113 98.1)
XYZxyz(22.2022, 24.2615, 5.6109)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998729 #293B99
analogous
#994F29 #998729 #739929
triadic
#998729 #299987 #872999
tetradic
#998729 #29994F #293B99 #992973
square
#998729 #29994F #293B99 #992973
split-complementary
#998729 #297399 #4F2999
monochromatic
#38320F #695C1C #998729 #C9B236 #D6C466

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998729#FFFFFF#000000##000000
##9987291.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)
#95841A
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#A57D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998729;
/* rgb */ color: rgb(153, 135, 41);
/* oklch */ color: oklch(62.2% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#baa969',
    500: '#998729',
    950: '#000000',
  },
}
SCSS
$custom: #998729;
$custom-light: #baa969;
$custom-dark: #000000;
JSON
{
  "hex": "#998729",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 50.357,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62239,
    "c": 0.11272,
    "h": 98.1
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#998729
secondary
#6270BC
accent
#60E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998729

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

Preview Lab → · Contrast checker → · Palette generator →

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