#998630#998630

#998630 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.107 H 96.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#998630
RGBrgb(153, 134, 48)
HSLhsl(49, 52%, 39%)
HSVhsv(49, 69%, 60%)
CMYKcmyk(0%, 12.4%, 68.6%, 40%)
CIE-LABlab(56.12, -2.98, 47.14)
CIE-LCHlch(56.12, 47.23, 93.61°)
OKLaboklab(62.08% -0.0123 0.1062)
OKLCHoklch(62.08% 0.107 96.6)
XYZxyz(22.1965, 24.0370, 6.2662)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998630 #304399
analogous
#995230 #998630 #789930
triadic
#998630 #309986 #863099
tetradic
#998630 #309952 #304399 #993078
square
#998630 #309952 #304399 #993078
split-complementary
#998630 #307899 #523099
monochromatic
#3C3413 #6A5D21 #998630 #C4AC42 #D2C171

Accessibility & contrast

On white

3.62
#998630 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#998630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998630
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998630#FFFFFF#000000##000000
##9986301.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#A57C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998630;
/* rgb */ color: rgb(153, 134, 48);
/* oklch */ color: oklch(62.1% 0.107 96.6);
Tailwind
colors: {
  custom: {
    50: '#baa86d',
    500: '#998630',
    950: '#000000',
  },
}
SCSS
$custom: #998630;
$custom-light: #baa86d;
$custom-dark: #000000;
JSON
{
  "hex": "#998630",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 49.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62078,
    "c": 0.10689,
    "h": 96.6
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#998630
secondary
#6B79BA
accent
#66DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998630

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

Preview Lab → · Contrast checker → · Palette generator →

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