#838423#838423

#838423 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.116 H 110.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#838423
RGBrgb(131, 132, 35)
HSLhsl(61, 58%, 33%)
HSVhsv(61, 73%, 52%)
CMYKcmyk(0.8%, 0%, 73.5%, 48.2%)
CIE-LABlab(53.44, -12.62, 49.14)
CIE-LCHlch(53.44, 50.73, 104.41°)
OKLaboklab(59.43% -0.0397 0.1088)
OKLCHoklch(59.43% 0.116 110)
XYZxyz(17.9153, 21.4497, 4.7863)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838423 #242384
analogous
#845523 #838423 #528423
triadic
#838423 #238384 #842383
tetradic
#838423 #238455 #242384 #842352
square
#838423 #238455 #242384 #842352
split-complementary
#838423 #235284 #552384
monochromatic
#232309 #535416 #838423 #B3B430 #CFD151

Accessibility & contrast

On white

3.97
#838423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#838423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838423
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838423#FFFFFF#000000##000000
##8384231.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E11
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#8C7B71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838423;
/* rgb */ color: rgb(131, 132, 35);
/* oklch */ color: oklch(59.4% 0.116 110.0);
Tailwind
colors: {
  custom: {
    50: '#aaa765',
    500: '#838423',
    950: '#000000',
  },
}
SCSS
$custom: #838423;
$custom-light: #aaa765;
$custom-dark: #000000;
JSON
{
  "hex": "#838423",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 60.619,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59427,
    "c": 0.11583,
    "h": 110
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#838423
secondary
#4F4EB4
accent
#46E148
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838423

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

Preview Lab → · Contrast checker → · Palette generator →

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