#838121#838121

#838121 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.7% C 0.114 H 108.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#838121
RGBrgb(131, 129, 33)
HSLhsl(59, 60%, 32%)
HSVhsv(59, 75%, 51%)
CMYKcmyk(0%, 1.5%, 74.8%, 48.6%)
CIE-LABlab(52.55, -11.10, 49.04)
CIE-LCHlch(52.55, 50.28, 102.75°)
OKLaboklab(58.71% -0.0357 0.1082)
OKLCHoklch(58.71% 0.114 108.2)
XYZxyz(17.4855, 20.6362, 4.5007)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838121 #212383
analogous
#835021 #838121 #548321
triadic
#838121 #218381 #812183
tetradic
#838121 #218350 #212383 #832154
square
#838121 #218350 #212383 #832154
split-complementary
#838121 #215483 #502183
monochromatic
#212108 #525115 #838121 #B4B12D #D2CF4C

Accessibility & contrast

On white

4.10
#838121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#838121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838121
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838121#FFFFFF#000000##000000
##8381211.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0E
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#8D786F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838121;
/* rgb */ color: rgb(131, 129, 33);
/* oklch */ color: oklch(58.7% 0.114 108.2);
Tailwind
colors: {
  custom: {
    50: '#aaa564',
    500: '#838121',
    950: '#000000',
  },
}
SCSS
$custom: #838121;
$custom-light: #aaa564;
$custom-dark: #000000;
JSON
{
  "hex": "#838121",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 58.776,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58713,
    "c": 0.11393,
    "h": 108.2
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#838121
secondary
#4B4DB5
accent
#48E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838121

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

Preview Lab → · Contrast checker → · Palette generator →

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