#98941C#98941C

#98941C is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.132 H 107.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#98941C
RGBrgb(152, 148, 28)
HSLhsl(58, 69%, 35%)
HSVhsv(58, 82%, 60%)
CMYKcmyk(0%, 2.6%, 81.6%, 40.4%)
CIE-LABlab(59.83, -11.95, 58.00)
CIE-LCHlch(59.83, 59.22, 101.64°)
OKLaboklab(64.97% -0.0396 0.1255)
OKLCHoklch(64.97% 0.132 107.5)
XYZxyz(23.7494, 27.9399, 5.2403)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98941C #1C2098
analogous
#98561C #98941C #5E981C
triadic
#98941C #1C9894 #941C98
tetradic
#98941C #1C9856 #1C2098 #981C5E
square
#98941C #1C9856 #1C2098 #981C5E
split-complementary
#98941C #1C5E98 #561C98
monochromatic
#312F09 #646212 #98941C #CCC626 #DFDA50

Accessibility & contrast

On white

3.19
#98941C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#98941C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98941C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98941C#FFFFFF#000000##000000
##98941C1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#A48A7E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #98941c;
/* rgb */ color: rgb(152, 148, 28);
/* oklch */ color: oklch(65.0% 0.132 107.5);
Tailwind
colors: {
  custom: {
    50: '#bab365',
    500: '#98941c',
    950: '#000000',
  },
}
SCSS
$custom: #98941c;
$custom-light: #bab365;
$custom-dark: #000000;
JSON
{
  "hex": "#98941c",
  "rgb": {
    "r": 152,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 58.065,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64966,
    "c": 0.13159,
    "h": 107.5
  },
  "luminance": 0.27939
}

Semantic roles & 50–950 ramp

primary
#98941C
secondary
#4E52C1
accent
#42EC3C
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #98941C

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

Preview Lab → · Contrast checker → · Palette generator →

#98941C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva