#838825#838825

#838825 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.119 H 112.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#838825
RGBrgb(131, 136, 37)
HSLhsl(63, 57%, 34%)
HSVhsv(63, 73%, 53%)
CMYKcmyk(3.7%, 0%, 72.8%, 46.7%)
CIE-LABlab(54.62, -14.65, 49.52)
CIE-LCHlch(54.62, 51.65, 106.48°)
OKLaboklab(60.38% -0.0452 0.11)
OKLCHoklch(60.38% 0.119 112.3)
XYZxyz(18.4987, 22.5676, 5.1314)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838825 #2A2588
analogous
#885C25 #838825 #528825
triadic
#838825 #258388 #882583
tetradic
#838825 #25885C #2A2588 #882552
square
#838825 #25885C #2A2588 #882552
split-complementary
#838825 #255288 #5C2588
monochromatic
#26280B #555818 #838825 #B1B832 #CBD156

Accessibility & contrast

On white

3.81
#838825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#838825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838825
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838825#FFFFFF#000000##000000
##8388251.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#8C8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #838825;
/* rgb */ color: rgb(131, 136, 37);
/* oklch */ color: oklch(60.4% 0.119 112.3);
Tailwind
colors: {
  custom: {
    50: '#aaaa67',
    500: '#838825',
    950: '#000000',
  },
}
SCSS
$custom: #838825;
$custom-light: #aaaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#838825",
  "rgb": {
    "r": 131,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 63.03,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.11891,
    "h": 112.3
  },
  "luminance": 0.22567
}

Semantic roles & 50–950 ramp

primary
#838825
secondary
#5853B6
accent
#47E04F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838825

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

Preview Lab → · Contrast checker → · Palette generator →

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