#838043#838043

#838043 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.083 H 106.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#838043
RGBrgb(131, 128, 67)
HSLhsl(57, 32%, 39%)
HSVhsv(57, 49%, 51%)
CMYKcmyk(0%, 2.3%, 48.9%, 48.6%)
CIE-LABlab(52.59, -8.00, 33.30)
CIE-LCHlch(52.59, 34.24, 103.52°)
OKLaboklab(58.85% -0.023 0.0794)
OKLCHoklch(58.85% 0.083 106.2)
XYZxyz(18.0928, 20.6694, 8.3456)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838043 #434683
analogous
#836043 #838043 #668343
triadic
#838043 #438380 #804383
tetradic
#838043 #438360 #434683 #834366
square
#838043 #438360 #434683 #834366
split-complementary
#838043 #436683 #604383
monochromatic
#32311A #5B582E #838043 #AAA659 #BFBC82

Accessibility & contrast

On white

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

On black

5.13
#838043 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838043
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838043#FFFFFF#000000##000000
##8380431.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3E
Deuteranopia (green-blind)
#8B7F46
Tritanopia (blue-blind)
#8B7972
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838043;
/* rgb */ color: rgb(131, 128, 67);
/* oklch */ color: oklch(58.8% 0.083 106.2);
Tailwind
colors: {
  custom: {
    50: '#a8a478',
    500: '#838043',
    950: '#000000',
  },
}
SCSS
$custom: #838043;
$custom-light: #a8a478;
$custom-dark: #000000;
JSON
{
  "hex": "#838043",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 57.188,
    "s": 32.323,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.08266,
    "h": 106.2
  },
  "luminance": 0.20669
}

Semantic roles & 50–950 ramp

primary
#838043
secondary
#787AAA
accent
#64C85F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #838043

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

Preview Lab → · Contrast checker → · Palette generator →

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