#838124#838124

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

Color values

HEX#838124
RGBrgb(131, 129, 36)
HSLhsl(59, 57%, 33%)
HSVhsv(59, 73%, 51%)
CMYKcmyk(0%, 1.5%, 72.5%, 48.6%)
CIE-LABlab(52.57, -10.95, 47.91)
CIE-LCHlch(52.57, 49.14, 102.87°)
OKLaboklab(58.74% -0.0349 0.1064)
OKLCHoklch(58.74% 0.112 108.2)
XYZxyz(17.5294, 20.6537, 4.7319)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838124 #242683
analogous
#835224 #838124 #558324
triadic
#838124 #248381 #812483
tetradic
#838124 #248352 #242683 #832455
square
#838124 #248352 #242683 #832455
split-complementary
#838124 #245583 #522483
monochromatic
#23220A #535217 #838124 #B3B031 #CFCD52

Accessibility & contrast

On white

4.09
#838124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##838124#FFFFFF#000000##000000
##8381241.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #838124;
/* rgb */ color: rgb(131, 129, 36);
/* oklch */ color: oklch(58.7% 0.112 108.2);
Tailwind
colors: {
  custom: {
    50: '#aaa565',
    500: '#838124',
    950: '#000000',
  },
}
SCSS
$custom: #838124;
$custom-light: #aaa565;
$custom-dark: #000000;
JSON
{
  "hex": "#838124",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 58.737,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.11197,
    "h": 108.2
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#838124
secondary
#4F51B3
accent
#4BE048
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838124

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

Preview Lab → · Contrast checker → · Palette generator →

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