#98941F#98941F

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

Color values

HEX#98941F
RGBrgb(152, 148, 31)
HSLhsl(58, 66%, 36%)
HSVhsv(58, 80%, 60%)
CMYKcmyk(0%, 2.6%, 79.6%, 40.4%)
CIE-LABlab(59.85, -11.84, 57.12)
CIE-LCHlch(59.85, 58.33, 101.71°)
OKLaboklab(64.98% -0.039 0.1242)
OKLCHoklch(64.98% 0.13 107.5)
XYZxyz(23.7871, 27.9550, 5.4389)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98941F #1F2398
analogous
#98581F #98941F #5F981F
triadic
#98941F #1F9894 #941F98
tetradic
#98941F #1F9858 #1F2398 #981F5F
square
#98941F #1F9858 #1F2398 #981F5F
split-complementary
#98941F #1F5F98 #581F98
monochromatic
#32310A #656315 #98941F #CBC529 #DCD855

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98941F#FFFFFF#000000##000000
##98941F1.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)
#A39229
Tritanopia (blue-blind)
#A48A7E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #98941f;
/* rgb */ color: rgb(152, 148, 31);
/* oklch */ color: oklch(65.0% 0.130 107.5);
Tailwind
colors: {
  custom: {
    50: '#bab366',
    500: '#98941f',
    950: '#000000',
  },
}
SCSS
$custom: #98941f;
$custom-light: #bab366;
$custom-dark: #000000;
JSON
{
  "hex": "#98941f",
  "rgb": {
    "r": 152,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 58.017,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64981,
    "c": 0.13016,
    "h": 107.5
  },
  "luminance": 0.27954
}

Semantic roles & 50–950 ramp

primary
#98941F
secondary
#5357C0
accent
#44E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #98941F

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

Preview Lab → · Contrast checker → · Palette generator →

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