#988134#988134

#988134 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.100 H 92.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#988134
RGBrgb(152, 129, 52)
HSLhsl(46, 49%, 40%)
HSVhsv(46, 66%, 60%)
CMYKcmyk(0%, 15.1%, 65.8%, 40.4%)
CIE-LABlab(54.68, -0.40, 43.76)
CIE-LCHlch(54.68, 43.76, 90.52°)
OKLaboklab(60.93% -0.0043 0.0997)
OKLCHoklch(60.93% 0.1 92.5)
XYZxyz(21.4200, 22.6250, 6.4870)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988134 #344B98
analogous
#984F34 #988134 #7D9834
triadic
#988134 #349881 #813498
tetradic
#988134 #34984F #344B98 #98347D
square
#988134 #34984F #344B98 #98347D
split-complementary
#988134 #347D98 #4F3498
monochromatic
#3D3415 #6A5A24 #988134 #C1A549 #D0BC76

Accessibility & contrast

On white

3.80
#988134 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#988134 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988134
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988134#FFFFFF#000000##000000
##9881341.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2B
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#A47771
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #988134;
/* rgb */ color: rgb(152, 129, 52);
/* oklch */ color: oklch(60.9% 0.100 92.5);
Tailwind
colors: {
  custom: {
    50: '#b9a56f',
    500: '#988134',
    950: '#000000',
  },
}
SCSS
$custom: #988134;
$custom-light: #b9a56f;
$custom-dark: #000000;
JSON
{
  "hex": "#988134",
  "rgb": {
    "r": 152,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 46.2,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.60927,
    "c": 0.0998,
    "h": 92.5
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#988134
secondary
#6F80B9
accent
#6FD94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #988134

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

Preview Lab → · Contrast checker → · Palette generator →

#988134 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva