#98901F#98901F

#98901F is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.126 H 105.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#98901F
RGBrgb(152, 144, 31)
HSLhsl(56, 66%, 36%)
HSVhsv(56, 80%, 60%)
CMYKcmyk(0%, 5.3%, 79.6%, 40.4%)
CIE-LABlab(58.72, -9.71, 56.10)
CIE-LCHlch(58.72, 56.94, 99.81°)
OKLaboklab(64.08% -0.0331 0.122)
OKLCHoklch(64.08% 0.126 105.2)
XYZxyz(23.1705, 26.7218, 5.2334)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98901F #1F2798
analogous
#98531F #98901F #63981F
triadic
#98901F #1F9890 #901F98
tetradic
#98901F #1F9853 #1F2798 #981F63
square
#98901F #1F9853 #1F2798 #981F63
split-complementary
#98901F #1F6398 #531F98
monochromatic
#32300A #656015 #98901F #CBC029 #DCD355

Accessibility & contrast

On white

3.31
#98901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#98901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98901F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98901F#FFFFFF#000000##000000
##98901F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#A4867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #98901f;
/* rgb */ color: rgb(152, 144, 31);
/* oklch */ color: oklch(64.1% 0.126 105.2);
Tailwind
colors: {
  custom: {
    50: '#bab065',
    500: '#98901f',
    950: '#000000',
  },
}
SCSS
$custom: #98901f;
$custom-light: #bab065;
$custom-dark: #000000;
JSON
{
  "hex": "#98901f",
  "rgb": {
    "r": 152,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 56.033,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.1264,
    "h": 105.2
  },
  "luminance": 0.26721
}

Semantic roles & 50–950 ramp

primary
#98901F
secondary
#535AC0
accent
#4AE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #98901F

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

Preview Lab → · Contrast checker → · Palette generator →

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