#848917#848917

#848917 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.127 H 112.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#848917
RGBrgb(132, 137, 23)
HSLhsl(63, 71%, 31%)
HSVhsv(63, 83%, 54%)
CMYKcmyk(3.6%, 0%, 83.2%, 46.3%)
CIE-LABlab(54.93, -15.35, 54.49)
CIE-LCHlch(54.93, 56.61, 105.73°)
OKLaboklab(60.62% -0.0484 0.1179)
OKLCHoklch(60.62% 0.127 112.3)
XYZxyz(18.6167, 22.8592, 4.2420)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848917 #1C1789
analogous
#895517 #848917 #4B8917
triadic
#848917 #178489 #891784
tetradic
#848917 #178955 #1C1789 #89174B
square
#848917 #178955 #1C1789 #89174B
split-complementary
#848917 #174B89 #551789
monochromatic
#1F2005 #52550E #848917 #B6BD20 #D7DE3C

Accessibility & contrast

On white

3.77
#848917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#848917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848917
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848917#FFFFFF#000000##000000
##8489171.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#8E8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848917;
/* rgb */ color: rgb(132, 137, 23);
/* oklch */ color: oklch(60.6% 0.127 112.3);
Tailwind
colors: {
  custom: {
    50: '#abab61',
    500: '#848917',
    950: '#000000',
  },
}
SCSS
$custom: #848917;
$custom-light: #abab61;
$custom-dark: #000000;
JSON
{
  "hex": "#848917",
  "rgb": {
    "r": 132,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 62.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.12743,
    "h": 112.3
  },
  "luminance": 0.22859
}

Semantic roles & 50–950 ramp

primary
#848917
secondary
#453FBD
accent
#3AEE42
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848917

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

Preview Lab → · Contrast checker → · Palette generator →

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