#848E2F#848E2F

#848E2F is a mid, moderate yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.118 H 115.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#848E2F
RGBrgb(132, 142, 47)
HSLhsl(66, 50%, 37%)
HSVhsv(66, 67%, 56%)
CMYKcmyk(7%, 0%, 66.9%, 44.3%)
CIE-LABlab(56.54, -16.77, 47.43)
CIE-LCHlch(56.54, 50.30, 109.48°)
OKLaboklab(61.96% -0.0501 0.1073)
OKLCHoklch(61.96% 0.118 115.1)
XYZxyz(19.7023, 24.4571, 6.3716)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E2F #392F8E
analogous
#8E692F #848E2F #548E2F
triadic
#848E2F #2F848E #8E2F84
tetradic
#848E2F #2F8E69 #392F8E #8E2F54
square
#848E2F #2F8E69 #392F8E #8E2F54
split-complementary
#848E2F #2F548E #692F8E
monochromatic
#2F3211 #596020 #848E2F #AFBC3E #C3CE6A

Accessibility & contrast

On white

3.56
#848E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#848E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E2F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E2F#FFFFFF#000000##000000
##848E2F1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#8C867B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #848e2f;
/* rgb */ color: rgb(132, 142, 47);
/* oklch */ color: oklch(62.0% 0.118 115.1);
Tailwind
colors: {
  custom: {
    50: '#aaaf6d',
    500: '#848e2f',
    950: '#000000',
  },
}
SCSS
$custom: #848e2f;
$custom-light: #aaaf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#848e2f",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 66.316,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.11839,
    "h": 115.1
  },
  "luminance": 0.24457
}

Semantic roles & 50–950 ramp

primary
#848E2F
secondary
#6D64B5
accent
#4EDA5D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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