#838030#838030

#838030 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.6% C 0.102 H 107.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#838030
RGBrgb(131, 128, 48)
HSLhsl(58, 46%, 35%)
HSVhsv(58, 63%, 51%)
CMYKcmyk(0%, 2.3%, 63.4%, 48.6%)
CIE-LABlab(52.37, -9.65, 42.54)
CIE-LCHlch(52.37, 43.62, 102.78°)
OKLaboklab(58.61% -0.0299 0.0971)
OKLCHoklch(58.61% 0.102 107.1)
XYZxyz(17.6133, 20.4776, 5.8205)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838030 #303383
analogous
#835630 #838030 #5D8330
triadic
#838030 #308380 #803083
tetradic
#838030 #308356 #303383 #83305D
square
#838030 #308356 #303383 #83305D
split-complementary
#838030 #305D83 #563083
monochromatic
#29280F #565420 #838030 #B0AC40 #C7C466

Accessibility & contrast

On white

4.12
#838030 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#838030 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838030
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838030#FFFFFF#000000##000000
##8380301.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B26
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#8C786F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838030;
/* rgb */ color: rgb(131, 128, 48);
/* oklch */ color: oklch(58.6% 0.102 107.1);
Tailwind
colors: {
  custom: {
    50: '#a9a46c',
    500: '#838030',
    950: '#000000',
  },
}
SCSS
$custom: #838030;
$custom-light: #a9a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#838030",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 48
  },
  "hsl": {
    "h": 57.831,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.10162,
    "h": 107.1
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#838030
secondary
#6163AE
accent
#57D652
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #838030

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

Preview Lab → · Contrast checker → · Palette generator →

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