#839222#839222

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

Color values

HEX#839222
RGBrgb(131, 146, 34)
HSLhsl(68, 62%, 35%)
HSVhsv(68, 77%, 57%)
CMYKcmyk(10.3%, 0%, 76.7%, 42.7%)
CIE-LABlab(57.56, -20.02, 53.41)
CIE-LCHlch(57.56, 57.04, 110.55°)
OKLaboklab(62.73% -0.0604 0.1177)
OKLCHoklch(62.73% 0.132 117.2)
XYZxyz(19.9282, 25.4988, 5.3850)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839222 #312292
analogous
#926922 #839222 #4B9222
triadic
#839222 #228392 #922283
tetradic
#839222 #229269 #312292 #92224B
square
#839222 #229269 #312292 #92224B
split-complementary
#839222 #224B92 #692292
monochromatic
#2A2F0B #566016 #839222 #B0C42E #C6D857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##839222#FFFFFF#000000##000000
##8392221.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)
#9C8A07
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#8B897D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #839222;
/* rgb */ color: rgb(131, 146, 34);
/* oklch */ color: oklch(62.7% 0.132 117.2);
Tailwind
colors: {
  custom: {
    50: '#aab167',
    500: '#839222',
    950: '#000000',
  },
}
SCSS
$custom: #839222;
$custom-light: #aab167;
$custom-dark: #000000;
JSON
{
  "hex": "#839222",
  "rgb": {
    "r": 131,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 68.036,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62728,
    "c": 0.13223,
    "h": 117.2
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

primary
#839222
secondary
#6254BC
accent
#43E558
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #839222

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

Preview Lab → · Contrast checker → · Palette generator →

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