#828E2F#828E2F

#828E2F is a mid, moderate yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.119 H 116.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#828E2F
RGBrgb(130, 142, 47)
HSLhsl(68, 50%, 37%)
HSVhsv(68, 67%, 56%)
CMYKcmyk(8.5%, 0%, 66.9%, 44.3%)
CIE-LABlab(56.38, -17.65, 47.21)
CIE-LCHlch(56.38, 50.40, 110.50°)
OKLaboklab(61.79% -0.0525 0.1069)
OKLCHoklch(61.79% 0.119 116.1)
XYZxyz(19.3924, 24.2973, 6.3570)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E2F #3B2F8E
analogous
#8E6B2F #828E2F #538E2F
triadic
#828E2F #2F828E #8E2F82
tetradic
#828E2F #2F8E6B #3B2F8E #8E2F53
square
#828E2F #2F8E6B #3B2F8E #8E2F53
split-complementary
#828E2F #2F538E #6B2F8E
monochromatic
#2E3211 #586020 #828E2F #ACBC3E #C1CE6A

Accessibility & contrast

On white

3.58
#828E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#828E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E2F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E2F#FFFFFF#000000##000000
##828E2F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#8A867B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e2f;
/* rgb */ color: rgb(130, 142, 47);
/* oklch */ color: oklch(61.8% 0.119 116.1);
Tailwind
colors: {
  custom: {
    50: '#a9af6d',
    500: '#828e2f',
    950: '#000000',
  },
}
SCSS
$custom: #828e2f;
$custom-light: #a9af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#828e2f",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 67.579,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.11903,
    "h": 116.1
  },
  "luminance": 0.24297
}

Semantic roles & 50–950 ramp

primary
#828E2F
secondary
#6E64B5
accent
#4EDA60
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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