#828B24#828B24

#828B24 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.0% C 0.123 H 114.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#828B24
RGBrgb(130, 139, 36)
HSLhsl(65, 59%, 34%)
HSVhsv(65, 74%, 55%)
CMYKcmyk(6.5%, 0%, 74.1%, 45.5%)
CIE-LABlab(55.42, -16.74, 50.64)
CIE-LCHlch(55.42, 53.34, 108.29°)
OKLaboklab(61% -0.051 0.1122)
OKLCHoklch(61% 0.123 114.5)
XYZxyz(18.7575, 23.3388, 5.1854)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B24 #2D248B
analogous
#8B6124 #828B24 #4F8B24
triadic
#828B24 #24828B #8B2482
tetradic
#828B24 #248B61 #2D248B #8B244F
square
#828B24 #248B61 #2D248B #8B244F
split-complementary
#828B24 #244F8B #61248B
monochromatic
#272A0B #555A17 #828B24 #AFBC31 #C8D356

Accessibility & contrast

On white

3.71
#828B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#828B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B24
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B24#FFFFFF#000000##000000
##828B241.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958410
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b24;
/* rgb */ color: rgb(130, 139, 36);
/* oklch */ color: oklch(61.0% 0.123 114.5);
Tailwind
colors: {
  custom: {
    50: '#a9ac67',
    500: '#828b24',
    950: '#000000',
  },
}
SCSS
$custom: #828b24;
$custom-light: #a9ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#828b24",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 65.243,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.12326,
    "h": 114.5
  },
  "luminance": 0.23338
}

Semantic roles & 50–950 ramp

primary
#828B24
secondary
#5C53B7
accent
#46E253
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828B24

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

Preview Lab → · Contrast checker → · Palette generator →

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