#828E0F#828E0F

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

Color values

HEX#828E0F
RGBrgb(130, 142, 15)
HSLhsl(66, 81%, 31%)
HSVhsv(66, 89%, 56%)
CMYKcmyk(8.5%, 0%, 89.4%, 44.3%)
CIE-LABlab(56.21, -19.09, 57.42)
CIE-LCHlch(56.21, 60.51, 108.39°)
OKLaboklab(61.6% -0.0591 0.123)
OKLCHoklch(61.6% 0.136 115.7)
XYZxyz(18.9657, 24.1266, 4.1097)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E0F #1B0F8E
analogous
#8E5A0F #828E0F #428E0F
triadic
#828E0F #0F828E #8E0F82
tetradic
#828E0F #0F8E5A #1B0F8E #8E0F42
square
#828E0F #0F8E5A #1B0F8E #8E0F42
split-complementary
#828E0F #0F428E #5A0F8E
monochromatic
#1D1F03 #4F5709 #828E0F #B5C515 #D7E92E

Accessibility & contrast

On white

3.61
#828E0F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##828E0F#FFFFFF#000000##000000
##828E0F1.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#98881F
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e0f;
/* rgb */ color: rgb(130, 142, 15);
/* oklch */ color: oklch(61.6% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#aaae5f',
    500: '#828e0f',
    950: '#000000',
  },
}
SCSS
$custom: #828e0f;
$custom-light: #aaae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#828e0f",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 15
  },
  "hsl": {
    "h": 65.669,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.13644,
    "h": 115.7
  },
  "luminance": 0.24126
}

Semantic roles & 50–950 ramp

primary
#828E0F
secondary
#4336C3
accent
#31F743
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #828E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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