#838022#838022

#838022 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.112 H 107.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#838022
RGBrgb(131, 128, 34)
HSLhsl(58, 59%, 32%)
HSVhsv(58, 74%, 51%)
CMYKcmyk(0%, 2.3%, 74%, 48.6%)
CIE-LABlab(52.26, -10.51, 48.39)
CIE-LCHlch(52.26, 49.51, 102.25°)
OKLaboklab(58.49% -0.0339 0.107)
OKLCHoklch(58.49% 0.112 107.6)
XYZxyz(17.3686, 20.3797, 4.5318)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838022 #222583
analogous
#834F22 #838022 #568322
triadic
#838022 #228380 #802283
tetradic
#838022 #22834F #222583 #832256
square
#838022 #22834F #222583 #832256
split-complementary
#838022 #225683 #4F2283
monochromatic
#222109 #525115 #838022 #B4AF2F #D1CD4E

Accessibility & contrast

On white

4.14
#838022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#838022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838022
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838022#FFFFFF#000000##000000
##8380221.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#8D776E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838022;
/* rgb */ color: rgb(131, 128, 34);
/* oklch */ color: oklch(58.5% 0.112 107.6);
Tailwind
colors: {
  custom: {
    50: '#aaa464',
    500: '#838022',
    950: '#000000',
  },
}
SCSS
$custom: #838022;
$custom-light: #aaa464;
$custom-dark: #000000;
JSON
{
  "hex": "#838022",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 58.144,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.11227,
    "h": 107.6
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#838022
secondary
#4C50B4
accent
#4BE246
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838022

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

Preview Lab → · Contrast checker → · Palette generator →

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