#98942E#98942E

#98942E is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.1% C 0.121 H 107.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#98942E
RGBrgb(152, 148, 46)
HSLhsl(58, 54%, 39%)
HSVhsv(58, 70%, 60%)
CMYKcmyk(0%, 2.6%, 69.7%, 40.4%)
CIE-LABlab(59.94, -11.14, 51.84)
CIE-LCHlch(59.94, 53.02, 102.13°)
OKLaboklab(65.08% -0.0356 0.1158)
OKLCHoklch(65.08% 0.121 107.1)
XYZxyz(24.0328, 28.0533, 6.7331)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98942E #2E3298
analogous
#985F2E #98942E #67982E
triadic
#98942E #2E9894 #942E98
tetradic
#98942E #2E985F #2E3298 #982E67
square
#98942E #2E985F #2E3298 #982E67
split-complementary
#98942E #2E6798 #5F2E98
monochromatic
#3A3912 #696620 #98942E #C5C03E #D3CF6D

Accessibility & contrast

On white

3.18
#98942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#98942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98942E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98942E#FFFFFF#000000##000000
##98942E1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1E
Deuteranopia (green-blind)
#A39235
Tritanopia (blue-blind)
#A38A80
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #98942e;
/* rgb */ color: rgb(152, 148, 46);
/* oklch */ color: oklch(65.1% 0.121 107.1);
Tailwind
colors: {
  custom: {
    50: '#b9b36d',
    500: '#98942e',
    950: '#000000',
  },
}
SCSS
$custom: #98942e;
$custom-light: #b9b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#98942e",
  "rgb": {
    "r": 152,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 57.736,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.12115,
    "h": 107.1
  },
  "luminance": 0.28052
}

Semantic roles & 50–950 ramp

primary
#98942E
secondary
#686BBA
accent
#50DD4B
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121107
muted
#81807A

Preview Lab

Preview with #98942E

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

Preview Lab → · Contrast checker → · Palette generator →

#98942E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva