#838027#838027

#838027 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.109 H 107.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#838027
RGBrgb(131, 128, 39)
HSLhsl(58, 54%, 33%)
HSVhsv(58, 70%, 51%)
CMYKcmyk(0%, 2.3%, 70.2%, 48.6%)
CIE-LABlab(52.30, -10.23, 46.43)
CIE-LCHlch(52.30, 47.54, 102.43°)
OKLaboklab(58.53% -0.0326 0.1038)
OKLCHoklch(58.53% 0.109 107.4)
XYZxyz(17.4461, 20.4107, 4.9397)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838027 #272A83
analogous
#835227 #838027 #588327
triadic
#838027 #278380 #802783
tetradic
#838027 #278352 #272A83 #832758
square
#838027 #278352 #272A83 #832758
split-complementary
#838027 #275883 #522783
monochromatic
#25240B #545219 #838027 #B2AE35 #CDC957

Accessibility & contrast

On white

4.13
#838027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#838027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838027
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838027#FFFFFF#000000##000000
##8380271.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#8D776E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838027;
/* rgb */ color: rgb(131, 128, 39);
/* oklch */ color: oklch(58.5% 0.109 107.4);
Tailwind
colors: {
  custom: {
    50: '#aaa467',
    500: '#838027',
    950: '#000000',
  },
}
SCSS
$custom: #838027;
$custom-light: #aaa467;
$custom-dark: #000000;
JSON
{
  "hex": "#838027",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 58.043,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.10881,
    "h": 107.4
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#838027
secondary
#5457B2
accent
#4FDD4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838027

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

Preview Lab → · Contrast checker → · Palette generator →

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