#868223#868223

#868223 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.113 H 107.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#868223
RGBrgb(134, 130, 35)
HSLhsl(58, 59%, 33%)
HSVhsv(58, 74%, 53%)
CMYKcmyk(0%, 3%, 73.9%, 47.5%)
CIE-LABlab(53.12, -10.17, 48.92)
CIE-LCHlch(53.12, 49.97, 101.74°)
OKLaboklab(59.24% -0.033 0.1082)
OKLCHoklch(59.24% 0.113 107)
XYZxyz(18.1182, 21.1556, 4.7188)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868223 #232786
analogous
#865023 #868223 #588623
triadic
#868223 #238682 #822386
tetradic
#868223 #238650 #232786 #862358
square
#868223 #238650 #232786 #862358
split-complementary
#868223 #235886 #502386
monochromatic
#25240A #555316 #868223 #B7B130 #D2CD52

Accessibility & contrast

On white

4.01
#868223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#868223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868223
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868223#FFFFFF#000000##000000
##8682231.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#907970
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #868223;
/* rgb */ color: rgb(134, 130, 35);
/* oklch */ color: oklch(59.2% 0.113 107.0);
Tailwind
colors: {
  custom: {
    50: '#aca665',
    500: '#868223',
    950: '#000000',
  },
}
SCSS
$custom: #868223;
$custom-light: #aca665;
$custom-dark: #000000;
JSON
{
  "hex": "#868223",
  "rgb": {
    "r": 134,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 57.576,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.11316,
    "h": 107
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#868223
secondary
#4F53B5
accent
#4CE246
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868223

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

Preview Lab → · Contrast checker → · Palette generator →

#868223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva