#827F23#827F23

#827F23 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.111 H 107.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#827F23
RGBrgb(130, 127, 35)
HSLhsl(58, 58%, 32%)
HSVhsv(58, 73%, 51%)
CMYKcmyk(0%, 2.3%, 73.1%, 49%)
CIE-LABlab(51.89, -10.37, 47.61)
CIE-LCHlch(51.89, 48.72, 102.29°)
OKLaboklab(58.17% -0.0333 0.1056)
OKLCHoklch(58.17% 0.111 107.5)
XYZxyz(17.0993, 20.0465, 4.5584)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F23 #232682
analogous
#824F23 #827F23 #568223
triadic
#827F23 #23827F #7F2382
tetradic
#827F23 #23824F #232682 #822356
square
#827F23 #23824F #232682 #822356
split-complementary
#827F23 #235682 #4F2382
monochromatic
#222109 #525016 #827F23 #B2AE30 #D0CC50

Accessibility & contrast

On white

4.19
#827F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#827F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827F23
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827F23#FFFFFF#000000##000000
##827F231.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #827f23;
/* rgb */ color: rgb(130, 127, 35);
/* oklch */ color: oklch(58.2% 0.111 107.5);
Tailwind
colors: {
  custom: {
    50: '#a9a365',
    500: '#827f23',
    950: '#000000',
  },
}
SCSS
$custom: #827f23;
$custom-light: #a9a365;
$custom-dark: #000000;
JSON
{
  "hex": "#827f23",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 58.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.11075,
    "h": 107.5
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#827F23
secondary
#4D51B3
accent
#4CE147
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #827F23

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

Preview Lab → · Contrast checker → · Palette generator →

#827F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva