#838622#838622

#838622 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 59.9% C 0.119 H 111.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#838622
RGBrgb(131, 134, 34)
HSLhsl(62, 60%, 33%)
HSVhsv(62, 75%, 53%)
CMYKcmyk(2.2%, 0%, 74.6%, 47.5%)
CIE-LABlab(54.02, -13.74, 50.07)
CIE-LCHlch(54.02, 51.92, 105.35°)
OKLaboklab(59.89% -0.0429 0.1106)
OKLCHoklch(59.89% 0.119 111.2)
XYZxyz(18.1745, 21.9915, 4.8005)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838622 #252286
analogous
#865722 #838622 #518622
triadic
#838622 #228386 #862283
tetradic
#838622 #228657 #252286 #862251
square
#838622 #228657 #252286 #862251
split-complementary
#838622 #225186 #572286
monochromatic
#242409 #535516 #838622 #B3B72E #CFD350

Accessibility & contrast

On white

3.89
#838622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#838622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838622
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838622#FFFFFF#000000##000000
##8386221.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#8C7D73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #838622;
/* rgb */ color: rgb(131, 134, 34);
/* oklch */ color: oklch(59.9% 0.119 111.2);
Tailwind
colors: {
  custom: {
    50: '#aaa965',
    500: '#838622',
    950: '#000000',
  },
}
SCSS
$custom: #838622;
$custom-light: #aaa965;
$custom-dark: #000000;
JSON
{
  "hex": "#838622",
  "rgb": {
    "r": 131,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 61.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.11863,
    "h": 111.2
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#838622
secondary
#514EB6
accent
#45E34A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838622

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

Preview Lab → · Contrast checker → · Palette generator →

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