#828F2D#828F2D

#828F2D is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.0% C 0.122 H 116.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#828F2D
RGBrgb(130, 143, 45)
HSLhsl(68, 52%, 37%)
HSVhsv(68, 69%, 56%)
CMYKcmyk(9.1%, 0%, 68.5%, 43.9%)
CIE-LABlab(56.66, -18.30, 48.34)
CIE-LCHlch(56.66, 51.69, 110.73°)
OKLaboklab(62.01% -0.0545 0.1089)
OKLCHoklch(62.01% 0.122 116.6)
XYZxyz(19.5025, 24.5805, 6.1992)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F2D #3A2D8F
analogous
#8F6B2D #828F2D #518F2D
triadic
#828F2D #2D828F #8F2D82
tetradic
#828F2D #2D8F6B #3A2D8F #8F2D51
square
#828F2D #2D8F6B #3A2D8F #8F2D51
split-complementary
#828F2D #2D518F #6B2D8F
monochromatic
#2D3210 #58601E #828F2D #ACBE3C #C1CF67

Accessibility & contrast

On white

3.55
#828F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#828F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F2D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F2D#FFFFFF#000000##000000
##828F2D1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871F
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#8A877B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f2d;
/* rgb */ color: rgb(130, 143, 45);
/* oklch */ color: oklch(62.0% 0.122 116.6);
Tailwind
colors: {
  custom: {
    50: '#a9af6c',
    500: '#828f2d',
    950: '#000000',
  },
}
SCSS
$custom: #828f2d;
$custom-light: #a9af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#828f2d",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 67.959,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62013,
    "c": 0.12178,
    "h": 116.6
  },
  "luminance": 0.2458
}

Semantic roles & 50–950 ramp

primary
#828F2D
secondary
#6D62B6
accent
#4CDC5F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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