#828C12#828C12

#828C12 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.133 H 114.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#828C12
RGBrgb(130, 140, 18)
HSLhsl(65, 77%, 31%)
HSVhsv(65, 87%, 55%)
CMYKcmyk(7.1%, 0%, 87.1%, 45.1%)
CIE-LABlab(55.63, -17.98, 56.29)
CIE-LCHlch(55.63, 59.09, 107.71°)
OKLaboklab(61.14% -0.0559 0.121)
OKLCHoklch(61.14% 0.133 114.8)
XYZxyz(18.6938, 23.5460, 4.1322)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C12 #1C128C
analogous
#8C5912 #828C12 #458C12
triadic
#828C12 #12828C #8C1282
tetradic
#828C12 #128C59 #1C128C #8C1245
square
#828C12 #128C59 #1C128C #8C1245
split-complementary
#828C12 #12458C #59128C
monochromatic
#1D2004 #50560B #828C12 #B4C219 #D6E534

Accessibility & contrast

On white

3.68
#828C12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#828C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828C12
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828C12#FFFFFF#000000##000000
##828C121.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c12;
/* rgb */ color: rgb(130, 140, 18);
/* oklch */ color: oklch(61.1% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#aaad5f',
    500: '#828c12',
    950: '#000000',
  },
}
SCSS
$custom: #828c12;
$custom-light: #aaad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#828c12",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 64.918,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.13327,
    "h": 114.8
  },
  "luminance": 0.23546
}

Semantic roles & 50–950 ramp

primary
#828C12
secondary
#4439C0
accent
#34F444
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #828C12

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

Preview Lab → · Contrast checker → · Palette generator →

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