#826D18#826D18

#826D18 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 54.0% C 0.102 H 94.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#826D18
RGBrgb(130, 109, 24)
HSLhsl(48, 69%, 30%)
HSVhsv(48, 82%, 51%)
CMYKcmyk(0%, 16.2%, 81.5%, 49%)
CIE-LABlab(46.64, -0.78, 46.79)
CIE-LCHlch(46.64, 46.80, 90.96°)
OKLaboklab(53.98% -0.0074 0.1016)
OKLCHoklch(53.98% 0.102 94.2)
XYZxyz(14.8403, 15.7499, 3.1224)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826D18 #182D82
analogous
#823818 #826D18 #628218
triadic
#826D18 #18826D #6D1882
tetradic
#826D18 #188238 #182D82 #821862
square
#826D18 #188238 #182D82 #821862
split-complementary
#826D18 #186282 #381882
monochromatic
#1B1605 #4E420E #826D18 #B69822 #DBBB3A

Accessibility & contrast

On white

5.06
#826D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#826D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #826D18
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826D18#FFFFFF#000000##FFFFFF
##826D181.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B05
Deuteranopia (green-blind)
#7F711E
Tritanopia (blue-blind)
#8D645D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #826d18;
/* rgb */ color: rgb(130, 109, 24);
/* oklch */ color: oklch(54.0% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#aa965d',
    500: '#826d18',
    950: '#000000',
  },
}
SCSS
$custom: #826d18;
$custom-light: #aa965d;
$custom-dark: #000000;
JSON
{
  "hex": "#826d18",
  "rgb": {
    "r": 130,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 48.113,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.10189,
    "h": 94.2
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#826D18
secondary
#4057B6
accent
#5FEC3C
background
#FAF9F5
surface
#F5F1E9
border
#CFCBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #826D18

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

Preview Lab → · Contrast checker → · Palette generator →

#826D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva