#848C31#848C31

#848C31 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.114 H 114.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#848C31
RGBrgb(132, 140, 49)
HSLhsl(65, 48%, 37%)
HSVhsv(65, 65%, 55%)
CMYKcmyk(5.7%, 0%, 65%, 45.1%)
CIE-LABlab(55.97, -15.58, 45.96)
CIE-LCHlch(55.97, 48.53, 108.73°)
OKLaboklab(61.51% -0.0466 0.1045)
OKLCHoklch(61.51% 0.114 114)
XYZxyz(19.4487, 23.8838, 6.4906)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C31 #39318C
analogous
#8C6731 #848C31 #578C31
triadic
#848C31 #31848C #8C3184
tetradic
#848C31 #318C67 #39318C #8C3157
square
#848C31 #318C67 #39318C #8C3157
split-complementary
#848C31 #31578C #67318C
monochromatic
#2F3111 #595F21 #848C31 #AFB941 #C3CC6C

Accessibility & contrast

On white

3.64
#848C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#848C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C31
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C31#FFFFFF#000000##000000
##848C311.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#8C8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c31;
/* rgb */ color: rgb(132, 140, 49);
/* oklch */ color: oklch(61.5% 0.114 114.0);
Tailwind
colors: {
  custom: {
    50: '#aaad6e',
    500: '#848c31',
    950: '#000000',
  },
}
SCSS
$custom: #848c31;
$custom-light: #aaad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#848c31",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 65.275,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.11439,
    "h": 114
  },
  "luminance": 0.23883
}

Semantic roles & 50–950 ramp

primary
#848C31
secondary
#6D66B3
accent
#50D85C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848C31

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

Preview Lab → · Contrast checker → · Palette generator →

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