#838457#838457

#838457 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.064 H 109.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#838457
RGBrgb(131, 132, 87)
HSLhsl(61, 21%, 43%)
HSVhsv(61, 34%, 52%)
CMYKcmyk(0.8%, 0%, 34.1%, 48.2%)
CIE-LABlab(54.04, -7.87, 24.23)
CIE-LCHlch(54.04, 25.47, 108.00°)
OKLaboklab(60.11% -0.0209 0.06)
OKLCHoklch(60.11% 0.064 109.3)
XYZxyz(19.3318, 22.0163, 12.2462)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838457 #585784
analogous
#846E57 #838457 #6C8457
triadic
#838457 #578384 #845783
tetradic
#838457 #57846E #585784 #84576C
square
#838457 #57846E #585784 #84576C
split-complementary
#838457 #576C84 #6E5784
monochromatic
#3A3A26 #5E5F3F #838457 #A3A474 #BBBC99

Accessibility & contrast

On white

3.89
#838457 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#838457 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838457
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838457#FFFFFF#000000##000000
##8384571.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8054
Deuteranopia (green-blind)
#8C8259
Tritanopia (blue-blind)
#897F79
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #838457;
/* rgb */ color: rgb(131, 132, 87);
/* oklch */ color: oklch(60.1% 0.064 109.3);
Tailwind
colors: {
  custom: {
    50: '#a8a787',
    500: '#838457',
    950: '#000000',
  },
}
SCSS
$custom: #838457;
$custom-light: #a8a787;
$custom-dark: #000000;
JSON
{
  "hex": "#838457",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 87
  },
  "hsl": {
    "h": 61.333,
    "s": 20.548,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.06353,
    "h": 109.3
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#838457
secondary
#8E8DAA
accent
#6BBD6D
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #838457

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

Preview Lab → · Contrast checker → · Palette generator →

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