#828E1B#828E1B

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

Color values

HEX#828E1B
RGBrgb(130, 142, 27)
HSLhsl(66, 68%, 33%)
HSVhsv(66, 81%, 56%)
CMYKcmyk(8.5%, 0%, 81%, 44.3%)
CIE-LABlab(56.26, -18.71, 54.44)
CIE-LCHlch(56.26, 57.57, 108.97°)
OKLaboklab(61.65% -0.0573 0.1186)
OKLCHoklch(61.65% 0.132 115.8)
XYZxyz(19.0773, 24.1713, 4.6972)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E1B #271B8E
analogous
#8E601B #828E1B #488E1B
triadic
#828E1B #1B828E #8E1B82
tetradic
#828E1B #1B8E60 #271B8E #8E1B48
square
#828E1B #1B8E60 #271B8E #8E1B48
split-complementary
#828E1B #1B488E #601B8E
monochromatic
#242707 #535B11 #828E1B #B1C125 #CDDC47

Accessibility & contrast

On white

3.60
#828E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#828E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E1B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E1B#FFFFFF#000000##000000
##828E1B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e1b;
/* rgb */ color: rgb(130, 142, 27);
/* oklch */ color: oklch(61.7% 0.132 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaae63',
    500: '#828e1b',
    950: '#000000',
  },
}
SCSS
$custom: #828e1b;
$custom-light: #aaae63;
$custom-dark: #000000;
JSON
{
  "hex": "#828e1b",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 66.261,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.13171,
    "h": 115.8
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#828E1B
secondary
#5347BE
accent
#3DEB4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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