#838229#838229

#838229 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.109 H 108.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#838229
RGBrgb(131, 130, 41)
HSLhsl(59, 52%, 34%)
HSVhsv(59, 69%, 51%)
CMYKcmyk(0%, 0.8%, 68.7%, 48.6%)
CIE-LABlab(52.90, -11.20, 46.19)
CIE-LCHlch(52.90, 47.53, 103.63°)
OKLaboklab(59.01% -0.0351 0.1037)
OKLCHoklch(59.01% 0.109 108.7)
XYZxyz(17.7436, 20.9512, 5.2067)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838229 #292A83
analogous
#835529 #838229 #578329
triadic
#838229 #298382 #822983
tetradic
#838229 #298355 #292A83 #832957
square
#838229 #298355 #292A83 #832957
split-complementary
#838229 #295783 #552983
monochromatic
#26250C #54541A #838229 #B2B038 #CCCA5B

Accessibility & contrast

On white

4.05
#838229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#838229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838229
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838229#FFFFFF#000000##000000
##8382291.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#8C7A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838229;
/* rgb */ color: rgb(131, 130, 41);
/* oklch */ color: oklch(59.0% 0.109 108.7);
Tailwind
colors: {
  custom: {
    50: '#aaa668',
    500: '#838229',
    950: '#000000',
  },
}
SCSS
$custom: #838229;
$custom-light: #aaa668;
$custom-dark: #000000;
JSON
{
  "hex": "#838229",
  "rgb": {
    "r": 131,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 59.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.10946,
    "h": 108.7
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#838229
secondary
#5758B1
accent
#4EDC4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838229

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

Preview Lab → · Contrast checker → · Palette generator →

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