#838045#838045

#838045 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.080 H 106.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#838045
RGBrgb(131, 128, 69)
HSLhsl(57, 31%, 39%)
HSVhsv(57, 47%, 51%)
CMYKcmyk(0%, 2.3%, 47.3%, 48.6%)
CIE-LABlab(52.61, -7.80, 32.26)
CIE-LCHlch(52.61, 33.19, 103.59°)
OKLaboklab(58.88% -0.0222 0.0773)
OKLCHoklch(58.88% 0.08 106)
XYZxyz(18.1538, 20.6938, 8.6671)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838045 #454883
analogous
#836145 #838045 #678345
triadic
#838045 #458380 #804583
tetradic
#838045 #458361 #454883 #834567
square
#838045 #458361 #454883 #834567
split-complementary
#838045 #456783 #614583
monochromatic
#33321B #5B5930 #838045 #A9A55C #BEBB84

Accessibility & contrast

On white

4.09
#838045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#838045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838045
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838045#FFFFFF#000000##000000
##8380451.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C40
Deuteranopia (green-blind)
#8A7F48
Tritanopia (blue-blind)
#8B7972
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838045;
/* rgb */ color: rgb(131, 128, 69);
/* oklch */ color: oklch(58.9% 0.080 106.0);
Tailwind
colors: {
  custom: {
    50: '#a8a47a',
    500: '#838045',
    950: '#000000',
  },
}
SCSS
$custom: #838045;
$custom-light: #a8a47a;
$custom-dark: #000000;
JSON
{
  "hex": "#838045",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 57.097,
    "s": 31,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.08041,
    "h": 106
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#838045
secondary
#7A7DAA
accent
#66C761
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #838045

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

Preview Lab → · Contrast checker → · Palette generator →

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