#828E2D#828E2D

#828E2D is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.121 H 116.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#828E2D
RGBrgb(130, 142, 45)
HSLhsl(67, 52%, 37%)
HSVhsv(67, 68%, 56%)
CMYKcmyk(8.5%, 0%, 68.3%, 44.3%)
CIE-LABlab(56.37, -17.78, 48.04)
CIE-LCHlch(56.37, 51.22, 110.31°)
OKLaboklab(61.78% -0.053 0.1083)
OKLCHoklch(61.78% 0.121 116.1)
XYZxyz(19.3530, 24.2816, 6.1494)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E2D #392D8E
analogous
#8E6A2D #828E2D #528E2D
triadic
#828E2D #2D828E #8E2D82
tetradic
#828E2D #2D8E6A #392D8E #8E2D52
square
#828E2D #2D8E6A #392D8E #8E2D52
split-complementary
#828E2D #2D528E #6A2D8E
monochromatic
#2D3110 #57601E #828E2D #ADBC3C #C2CF67

Accessibility & contrast

On white

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

On black

5.86
#828E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E2D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E2D#FFFFFF#000000##000000
##828E2D1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871F
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e2d;
/* rgb */ color: rgb(130, 142, 45);
/* oklch */ color: oklch(61.8% 0.121 116.1);
Tailwind
colors: {
  custom: {
    50: '#a9af6c',
    500: '#828e2d',
    950: '#000000',
  },
}
SCSS
$custom: #828e2d;
$custom-light: #a9af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#828e2d",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 67.423,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.12056,
    "h": 116.1
  },
  "luminance": 0.24281
}

Semantic roles & 50–950 ramp

primary
#828E2D
secondary
#6C61B5
accent
#4CDB5E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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