#838F22#838F22

#838F22 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.0% C 0.129 H 115.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#838F22
RGBrgb(131, 143, 34)
HSLhsl(67, 62%, 35%)
HSVhsv(67, 76%, 56%)
CMYKcmyk(8.4%, 0%, 76.2%, 43.9%)
CIE-LABlab(56.67, -18.48, 52.58)
CIE-LCHlch(56.67, 55.73, 109.36°)
OKLaboklab(62.01% -0.0561 0.1159)
OKLCHoklch(62.01% 0.129 115.8)
XYZxyz(19.4718, 24.5860, 5.2329)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F22 #2E228F
analogous
#8F6522 #838F22 #4C8F22
triadic
#838F22 #22838F #8F2283
tetradic
#838F22 #228F65 #2E228F #8F224C
square
#838F22 #228F65 #2E228F #8F224C
split-complementary
#838F22 #224C8F #65228F
monochromatic
#282C0A #565E16 #838F22 #B0C02E #C8D755

Accessibility & contrast

On white

3.55
#838F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#838F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838F22
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838F22#FFFFFF#000000##000000
##838F221.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998709
Deuteranopia (green-blind)
#98892B
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838f22;
/* rgb */ color: rgb(131, 143, 34);
/* oklch */ color: oklch(62.0% 0.129 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaaf66',
    500: '#838f22',
    950: '#000000',
  },
}
SCSS
$custom: #838f22;
$custom-light: #aaaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#838f22",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 66.606,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62014,
    "c": 0.12875,
    "h": 115.8
  },
  "luminance": 0.24586
}

Semantic roles & 50–950 ramp

primary
#838F22
secondary
#5E52BA
accent
#43E555
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838F22

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

Preview Lab → · Contrast checker → · Palette generator →

#838F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva