#838451#838451

#838451 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.071 H 109.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#838451
RGBrgb(131, 132, 81)
HSLhsl(61, 24%, 42%)
HSVhsv(61, 39%, 52%)
CMYKcmyk(0.8%, 0%, 38.6%, 48.2%)
CIE-LABlab(53.94, -8.64, 27.42)
CIE-LCHlch(53.94, 28.75, 107.48°)
OKLaboklab(59.99% -0.0235 0.0671)
OKLCHoklch(59.99% 0.071 109.3)
XYZxyz(19.0968, 21.9222, 11.0084)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838451 #525184
analogous
#846C51 #838451 #6A8451
triadic
#838451 #518384 #845183
tetradic
#838451 #51846C #525184 #84516A
square
#838451 #51846C #525184 #84516A
split-complementary
#838451 #516A84 #6C5184
monochromatic
#383822 #5D5E3A #838451 #A4A56D #BCBD93

Accessibility & contrast

On white

3.90
#838451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#838451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838451
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838451#FFFFFF#000000##000000
##8384511.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804D
Deuteranopia (green-blind)
#8C8253
Tritanopia (blue-blind)
#8A7E77
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #838451;
/* rgb */ color: rgb(131, 132, 81);
/* oklch */ color: oklch(60.0% 0.071 109.3);
Tailwind
colors: {
  custom: {
    50: '#a8a782',
    500: '#838451',
    950: '#000000',
  },
}
SCSS
$custom: #838451;
$custom-light: #a8a782;
$custom-dark: #000000;
JSON
{
  "hex": "#838451",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 61.176,
    "s": 23.944,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59994,
    "c": 0.07113,
    "h": 109.3
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#838451
secondary
#8887AA
accent
#67C069
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #838451

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

Preview Lab → · Contrast checker → · Palette generator →

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