#98922B#98922B

#98922B is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.6% C 0.121 H 106.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#98922B
RGBrgb(152, 146, 43)
HSLhsl(57, 56%, 38%)
HSVhsv(57, 72%, 60%)
CMYKcmyk(0%, 3.9%, 71.7%, 40.4%)
CIE-LABlab(59.35, -10.24, 52.44)
CIE-LCHlch(59.35, 53.43, 101.04°)
OKLaboklab(64.61% -0.0334 0.1165)
OKLCHoklch(64.61% 0.121 106)
XYZxyz(23.6648, 27.4084, 6.3288)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98922B #2B3198
analogous
#985B2B #98922B #67982B
triadic
#98922B #2B9892 #922B98
tetradic
#98922B #2B985B #2B3198 #982B67
square
#98922B #2B985B #2B3198 #982B67
split-complementary
#98922B #2B6798 #5B2B98
monochromatic
#393610 #68641E #98922B #C7BF39 #D5CF69

Accessibility & contrast

On white

3.24
#98922B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#98922B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98922B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98922B#FFFFFF#000000##000000
##98922B1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1A
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#A3887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #98922b;
/* rgb */ color: rgb(152, 146, 43);
/* oklch */ color: oklch(64.6% 0.121 106.0);
Tailwind
colors: {
  custom: {
    50: '#b9b16b',
    500: '#98922b',
    950: '#000000',
  },
}
SCSS
$custom: #98922b;
$custom-light: #b9b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#98922b",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 43
  },
  "hsl": {
    "h": 56.697,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64606,
    "c": 0.12123,
    "h": 106
  },
  "luminance": 0.27408
}

Semantic roles & 50–950 ramp

primary
#98922B
secondary
#6469BB
accent
#51DF49
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #98922B

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

Preview Lab → · Contrast checker → · Palette generator →

#98922B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva