#838726#838726

#838726 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.117 H 111.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#838726
RGBrgb(131, 135, 38)
HSLhsl(62, 56%, 34%)
HSVhsv(62, 72%, 53%)
CMYKcmyk(3%, 0%, 71.9%, 47.1%)
CIE-LABlab(54.34, -14.07, 48.86)
CIE-LCHlch(54.34, 50.84, 106.06°)
OKLaboklab(60.15% -0.0434 0.1088)
OKLCHoklch(60.15% 0.117 111.8)
XYZxyz(18.3745, 22.2936, 5.1685)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838726 #2A2687
analogous
#875B26 #838726 #538726
triadic
#838726 #268387 #872683
tetradic
#838726 #26875B #2A2687 #872653
square
#838726 #26875B #2A2687 #872653
split-complementary
#838726 #265387 #5B2687
monochromatic
#26270B #555719 #838726 #B1B733 #CBD058

Accessibility & contrast

On white

3.85
#838726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#838726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838726
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838726#FFFFFF#000000##000000
##8387261.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#8C7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #838726;
/* rgb */ color: rgb(131, 135, 38);
/* oklch */ color: oklch(60.2% 0.117 111.8);
Tailwind
colors: {
  custom: {
    50: '#aaa967',
    500: '#838726',
    950: '#000000',
  },
}
SCSS
$custom: #838726;
$custom-light: #aaa967;
$custom-dark: #000000;
JSON
{
  "hex": "#838726",
  "rgb": {
    "r": 131,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 62.474,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.11712,
    "h": 111.8
  },
  "luminance": 0.22293
}

Semantic roles & 50–950 ramp

primary
#838726
secondary
#5854B5
accent
#48DF4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838726

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

Preview Lab → · Contrast checker → · Palette generator →

#838726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva