#828F12#828F12

#828F12 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.9% C 0.137 H 116.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#828F12
RGBrgb(130, 143, 18)
HSLhsl(66, 78%, 32%)
HSVhsv(66, 87%, 56%)
CMYKcmyk(9.1%, 0%, 87.4%, 43.9%)
CIE-LABlab(56.52, -19.53, 57.03)
CIE-LCHlch(56.52, 60.28, 108.90°)
OKLaboklab(61.85% -0.0601 0.1226)
OKLCHoklch(61.85% 0.137 116.1)
XYZxyz(19.1381, 24.4347, 4.2803)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F12 #1F128F
analogous
#8F5E12 #828F12 #448F12
triadic
#828F12 #12828F #8F1282
tetradic
#828F12 #128F5E #1F128F #8F1244
square
#828F12 #128F5E #1F128F #8F1244
split-complementary
#828F12 #12448F #5E128F
monochromatic
#1F2204 #51590B #828F12 #B3C519 #D3E636

Accessibility & contrast

On white

3.57
#828F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#828F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F12
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F12#FFFFFF#000000##000000
##828F121.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998821
Tritanopia (blue-blind)
#8B8679
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f12;
/* rgb */ color: rgb(130, 143, 18);
/* oklch */ color: oklch(61.9% 0.137 116.1);
Tailwind
colors: {
  custom: {
    50: '#aaaf60',
    500: '#828f12',
    950: '#000000',
  },
}
SCSS
$custom: #828f12;
$custom-light: #aaaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#828f12",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 66.24,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.13656,
    "h": 116.1
  },
  "luminance": 0.24434
}

Semantic roles & 50–950 ramp

primary
#828F12
secondary
#483AC3
accent
#34F448
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828F12

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

Preview Lab → · Contrast checker → · Palette generator →

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