#848B17#848B17

#848B17 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.1% C 0.130 H 113.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#848B17
RGBrgb(132, 139, 23)
HSLhsl(64, 72%, 32%)
HSVhsv(64, 83%, 55%)
CMYKcmyk(5%, 0%, 83.5%, 45.5%)
CIE-LABlab(55.52, -16.40, 55.00)
CIE-LCHlch(55.52, 57.39, 106.60°)
OKLaboklab(61.09% -0.0513 0.119)
OKLCHoklch(61.09% 0.13 113.3)
XYZxyz(18.9036, 23.4331, 4.3377)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B17 #1E178B
analogous
#8B5817 #848B17 #4A8B17
triadic
#848B17 #17848B #8B1784
tetradic
#848B17 #178B58 #1E178B #8B174A
square
#848B17 #178B58 #1E178B #8B174A
split-complementary
#848B17 #174A8B #58178B
monochromatic
#202206 #52560E #848B17 #B6C020 #D5DF3D

Accessibility & contrast

On white

3.69
#848B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#848B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848B17
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848B17#FFFFFF#000000##000000
##848B171.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#8D8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b17;
/* rgb */ color: rgb(132, 139, 23);
/* oklch */ color: oklch(61.1% 0.130 113.3);
Tailwind
colors: {
  custom: {
    50: '#abac61',
    500: '#848b17',
    950: '#000000',
  },
}
SCSS
$custom: #848b17;
$custom-light: #abac61;
$custom-dark: #000000;
JSON
{
  "hex": "#848b17",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 63.621,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.12957,
    "h": 113.3
  },
  "luminance": 0.23433
}

Semantic roles & 50–950 ramp

primary
#848B17
secondary
#473FBF
accent
#39EE44
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848B17

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

Preview Lab → · Contrast checker → · Palette generator →

#848B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva