#828E23#828E23

#828E23 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.127 H 115.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#828E23
RGBrgb(130, 142, 35)
HSLhsl(67, 60%, 35%)
HSVhsv(67, 75%, 56%)
CMYKcmyk(8.5%, 0%, 75.4%, 44.3%)
CIE-LABlab(56.30, -18.35, 51.85)
CIE-LCHlch(56.30, 55.00, 109.49°)
OKLaboklab(61.7% -0.0556 0.1146)
OKLCHoklch(61.7% 0.127 115.9)
XYZxyz(19.1828, 24.2135, 5.2529)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E23 #2F238E
analogous
#8E6523 #828E23 #4D8E23
triadic
#828E23 #23828E #8E2382
tetradic
#828E23 #238E65 #2F238E #8E234D
square
#828E23 #238E65 #2F238E #8E234D
split-complementary
#828E23 #234D8E #65238E
monochromatic
#282C0B #555D17 #828E23 #AFBF2F #C7D556

Accessibility & contrast

On white

3.59
#828E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#828E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E23
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E23#FFFFFF#000000##000000
##828E231.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860C
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#8B867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e23;
/* rgb */ color: rgb(130, 142, 35);
/* oklch */ color: oklch(61.7% 0.127 115.9);
Tailwind
colors: {
  custom: {
    50: '#a9af66',
    500: '#828e23',
    950: '#000000',
  },
}
SCSS
$custom: #828e23;
$custom-light: #a9af66;
$custom-dark: #000000;
JSON
{
  "hex": "#828e23",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 66.729,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.617,
    "c": 0.12735,
    "h": 115.9
  },
  "luminance": 0.24213
}

Semantic roles & 50–950 ramp

primary
#828E23
secondary
#5F53B9
accent
#44E456
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E23

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

Preview Lab → · Contrast checker → · Palette generator →

#828E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva