#998625#998625

#998625 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.115 H 97.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#998625
RGBrgb(153, 134, 37)
HSLhsl(50, 61%, 37%)
HSVhsv(50, 76%, 60%)
CMYKcmyk(0%, 12.4%, 75.8%, 40%)
CIE-LABlab(56.04, -3.56, 51.58)
CIE-LCHlch(56.04, 51.70, 93.95°)
OKLaboklab(61.99% -0.0152 0.1135)
OKLCHoklch(61.99% 0.115 97.6)
XYZxyz(21.9970, 23.9572, 5.2155)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998625 #253899
analogous
#994C25 #998625 #729925
triadic
#998625 #259986 #862599
tetradic
#998625 #25994C #253899 #992572
square
#998625 #25994C #253899 #992572
split-complementary
#998625 #257299 #4C2599
monochromatic
#36300D #685B19 #998625 #CAB131 #D9C560

Accessibility & contrast

On white

3.63
#998625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#998625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998625
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998625#FFFFFF#000000##000000
##9986251.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948314
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998625;
/* rgb */ color: rgb(153, 134, 37);
/* oklch */ color: oklch(62.0% 0.115 97.6);
Tailwind
colors: {
  custom: {
    50: '#bba867',
    500: '#998625',
    950: '#000000',
  },
}
SCSS
$custom: #998625;
$custom-light: #bba867;
$custom-dark: #000000;
JSON
{
  "hex": "#998625",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 50.172,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.11453,
    "h": 97.6
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#998625
secondary
#5C6CBE
accent
#5EE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998625

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

Preview Lab → · Contrast checker → · Palette generator →

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