#839221#839221

#839221 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.7% C 0.133 H 117.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#839221
RGBrgb(131, 146, 33)
HSLhsl(68, 63%, 35%)
HSVhsv(68, 77%, 57%)
CMYKcmyk(10.3%, 0%, 77.4%, 42.7%)
CIE-LABlab(57.55, -20.07, 53.74)
CIE-LCHlch(57.55, 57.37, 110.48°)
OKLaboklab(62.72% -0.0606 0.1182)
OKLCHoklch(62.72% 0.133 117.1)
XYZxyz(19.9140, 25.4931, 5.3101)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839221 #302192
analogous
#926921 #839221 #4A9221
triadic
#839221 #218392 #922183
tetradic
#839221 #219269 #302192 #92214A
square
#839221 #219269 #302192 #92214A
split-complementary
#839221 #214A92 #692192
monochromatic
#292E0A #566016 #839221 #B0C42C #C7D955

Accessibility & contrast

On white

3.44
#839221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#839221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839221
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839221#FFFFFF#000000##000000
##8392211.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A04
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#8B897D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #839221;
/* rgb */ color: rgb(131, 146, 33);
/* oklch */ color: oklch(62.7% 0.133 117.1);
Tailwind
colors: {
  custom: {
    50: '#aab166',
    500: '#839221',
    950: '#000000',
  },
}
SCSS
$custom: #839221;
$custom-light: #aab166;
$custom-dark: #000000;
JSON
{
  "hex": "#839221",
  "rgb": {
    "r": 131,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 67.965,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.13281,
    "h": 117.1
  },
  "luminance": 0.25493
}

Semantic roles & 50–950 ramp

primary
#839221
secondary
#6153BC
accent
#42E657
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #839221

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

Preview Lab → · Contrast checker → · Palette generator →

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