#828E12#828E12

#828E12 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.135 H 115.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#828E12
RGBrgb(130, 142, 18)
HSLhsl(66, 78%, 31%)
HSVhsv(66, 87%, 56%)
CMYKcmyk(8.5%, 0%, 87.3%, 44.3%)
CIE-LABlab(56.22, -19.01, 56.78)
CIE-LCHlch(56.22, 59.88, 108.51°)
OKLaboklab(61.61% -0.0587 0.1221)
OKLCHoklch(61.61% 0.135 115.7)
XYZxyz(18.9887, 24.1358, 4.2305)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E12 #1E128E
analogous
#8E5C12 #828E12 #448E12
triadic
#828E12 #12828E #8E1282
tetradic
#828E12 #128E5C #1E128E #8E1244
square
#828E12 #128E5C #1E128E #8E1244
split-complementary
#828E12 #12448E #5C128E
monochromatic
#1F2104 #50580B #828E12 #B4C419 #D4E535

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828E12#FFFFFF#000000##000000
##828E121.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)
#988821
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e12;
/* rgb */ color: rgb(130, 142, 18);
/* oklch */ color: oklch(61.6% 0.135 115.7);
Tailwind
colors: {
  custom: {
    50: '#aaae60',
    500: '#828e12',
    950: '#000000',
  },
}
SCSS
$custom: #828e12;
$custom-light: #aaae60;
$custom-dark: #000000;
JSON
{
  "hex": "#828e12",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 65.806,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.13546,
    "h": 115.7
  },
  "luminance": 0.24136
}

Semantic roles & 50–950 ramp

primary
#828E12
secondary
#473AC2
accent
#34F446
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828E12

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

Preview Lab → · Contrast checker → · Palette generator →

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