#838523#838523

#838523 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.117 H 110.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#838523
RGBrgb(131, 133, 35)
HSLhsl(61, 58%, 33%)
HSVhsv(61, 74%, 52%)
CMYKcmyk(1.5%, 0%, 73.7%, 47.8%)
CIE-LABlab(53.73, -13.16, 49.42)
CIE-LCHlch(53.73, 51.14, 104.91°)
OKLaboklab(59.66% -0.0412 0.1094)
OKLCHoklch(59.66% 0.117 110.6)
XYZxyz(18.0516, 21.7222, 4.8317)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838523 #252385
analogous
#855623 #838523 #528523
triadic
#838523 #238385 #852383
tetradic
#838523 #238556 #252385 #852352
square
#838523 #238556 #252385 #852352
split-complementary
#838523 #235285 #562385
monochromatic
#242409 #535516 #838523 #B3B530 #CFD151

Accessibility & contrast

On white

3.93
#838523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#838523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838523
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838523#FFFFFF#000000##000000
##8385231.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#8C7C72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838523;
/* rgb */ color: rgb(131, 133, 35);
/* oklch */ color: oklch(59.7% 0.117 110.6);
Tailwind
colors: {
  custom: {
    50: '#aaa865',
    500: '#838523',
    950: '#000000',
  },
}
SCSS
$custom: #838523;
$custom-light: #aaa865;
$custom-dark: #000000;
JSON
{
  "hex": "#838523",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 61.224,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.11691,
    "h": 110.6
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#838523
secondary
#514FB5
accent
#46E249
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838523

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

Preview Lab → · Contrast checker → · Palette generator →

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