#998B28#998B28

#998B28 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.117 H 101.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#998B28
RGBrgb(153, 139, 40)
HSLhsl(53, 59%, 38%)
HSVhsv(53, 74%, 60%)
CMYKcmyk(0%, 9.2%, 73.9%, 40%)
CIE-LABlab(57.46, -6.16, 51.79)
CIE-LCHlch(57.46, 52.15, 96.78°)
OKLaboklab(63.11% -0.0223 0.1145)
OKLCHoklch(63.11% 0.117 101)
XYZxyz(22.7535, 25.3918, 5.7097)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B28 #283699
analogous
#995228 #998B28 #6F9928
triadic
#998B28 #28998B #8B2899
tetradic
#998B28 #289952 #283699 #99286F
square
#998B28 #289952 #283699 #99286F
split-complementary
#998B28 #286F99 #522899
monochromatic
#38330F #685F1B #998B28 #CAB735 #D7C965

Accessibility & contrast

On white

3.45
#998B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#998B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B28
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B28#FFFFFF#000000##000000
##998B281.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988717
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b28;
/* rgb */ color: rgb(153, 139, 40);
/* oklch */ color: oklch(63.1% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#baac69',
    500: '#998b28',
    950: '#000000',
  },
}
SCSS
$custom: #998b28;
$custom-light: #baac69;
$custom-dark: #000000;
JSON
{
  "hex": "#998b28",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 52.566,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.11669,
    "h": 101
  },
  "luminance": 0.25391
}

Semantic roles & 50–950 ramp

primary
#998B28
secondary
#606CBD
accent
#59E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998B28

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

Preview Lab → · Contrast checker → · Palette generator →

#998B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva