#847F22#847F22

#847F22 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.111 H 106.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#847F22
RGBrgb(132, 127, 34)
HSLhsl(57, 59%, 33%)
HSVhsv(57, 74%, 52%)
CMYKcmyk(0%, 3.8%, 74.2%, 48.2%)
CIE-LABlab(52.06, -9.50, 48.22)
CIE-LCHlch(52.06, 49.15, 101.14°)
OKLaboklab(58.35% -0.0311 0.1067)
OKLCHoklch(58.35% 0.111 106.3)
XYZxyz(17.3945, 20.2004, 4.4959)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F22 #222784
analogous
#844E22 #847F22 #588422
triadic
#847F22 #22847F #7F2284
tetradic
#847F22 #22844E #222784 #842258
square
#847F22 #22844E #222784 #842258
split-complementary
#847F22 #225884 #4E2284
monochromatic
#232109 #535015 #847F22 #B5AE2F #D2CB4F

Accessibility & contrast

On white

4.17
#847F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#847F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F22
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F22#FFFFFF#000000##000000
##847F221.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A11
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f22;
/* rgb */ color: rgb(132, 127, 34);
/* oklch */ color: oklch(58.3% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#aba364',
    500: '#847f22',
    950: '#000000',
  },
}
SCSS
$custom: #847f22;
$custom-light: #aba364;
$custom-dark: #000000;
JSON
{
  "hex": "#847f22",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 56.939,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.1111,
    "h": 106.3
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#847F22
secondary
#4D52B5
accent
#4EE246
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847F22

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

Preview Lab → · Contrast checker → · Palette generator →

#847F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva