#818834#818834

#818834 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.108 H 113.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#818834
RGBrgb(129, 136, 52)
HSLhsl(65, 45%, 37%)
HSVhsv(65, 62%, 53%)
CMYKcmyk(5.1%, 0%, 61.8%, 46.7%)
CIE-LABlab(54.58, -14.57, 43.03)
CIE-LCHlch(54.58, 45.43, 108.70°)
OKLaboklab(60.34% -0.0432 0.0988)
OKLCHoklch(60.34% 0.108 113.6)
XYZxyz(18.4777, 22.5237, 6.6223)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818834 #3B3488
analogous
#886534 #818834 #578834
triadic
#818834 #348188 #883481
tetradic
#818834 #348865 #3B3488 #883457
square
#818834 #348865 #3B3488 #883457
split-complementary
#818834 #345788 #653488
monochromatic
#2D2F12 #575C23 #818834 #ABB445 #C0C86F

Accessibility & contrast

On white

3.81
#818834 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#818834 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818834
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818834#FFFFFF#000000##000000
##8188341.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822A
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#898076
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818834;
/* rgb */ color: rgb(129, 136, 52);
/* oklch */ color: oklch(60.3% 0.108 113.6);
Tailwind
colors: {
  custom: {
    50: '#a8aa6f',
    500: '#818834',
    950: '#000000',
  },
}
SCSS
$custom: #818834;
$custom-light: #a8aa6f;
$custom-dark: #000000;
JSON
{
  "hex": "#818834",
  "rgb": {
    "r": 129,
    "g": 136,
    "b": 52
  },
  "hsl": {
    "h": 65,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6034,
    "c": 0.10783,
    "h": 113.6
  },
  "luminance": 0.22523
}

Semantic roles & 50–950 ramp

primary
#818834
secondary
#6E68B0
accent
#53D45E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #818834

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

Preview Lab → · Contrast checker → · Palette generator →

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