#847D23#847D23

#847D23 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.108 H 104.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#847D23
RGBrgb(132, 125, 35)
HSLhsl(56, 58%, 33%)
HSVhsv(56, 73%, 52%)
CMYKcmyk(0%, 5.3%, 73.5%, 48.2%)
CIE-LABlab(51.49, -8.35, 47.28)
CIE-LCHlch(51.49, 48.01, 100.01°)
OKLaboklab(57.9% -0.0278 0.1048)
OKLCHoklch(57.9% 0.108 104.8)
XYZxyz(17.1534, 19.6948, 4.4877)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847D23 #232A84
analogous
#844C23 #847D23 #5A8423
triadic
#847D23 #23847D #7D2384
tetradic
#847D23 #23844C #232A84 #84235A
square
#847D23 #23844C #232A84 #84235A
split-complementary
#847D23 #235A84 #4C2384
monochromatic
#232109 #544F16 #847D23 #B4AB30 #D1C851

Accessibility & contrast

On white

4.25
#847D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#847D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847D23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847D23#FFFFFF#000000##000000
##847D231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#8E746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847d23;
/* rgb */ color: rgb(132, 125, 35);
/* oklch */ color: oklch(57.9% 0.108 104.8);
Tailwind
colors: {
  custom: {
    50: '#aba264',
    500: '#847d23',
    950: '#000000',
  },
}
SCSS
$custom: #847d23;
$custom-light: #aba264;
$custom-dark: #000000;
JSON
{
  "hex": "#847d23",
  "rgb": {
    "r": 132,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 55.67,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.10846,
    "h": 104.8
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#847D23
secondary
#4E56B4
accent
#52E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #847D23

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

Preview Lab → · Contrast checker → · Palette generator →

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