#838023#838023

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

Color values

HEX#838023
RGBrgb(131, 128, 35)
HSLhsl(58, 58%, 33%)
HSVhsv(58, 73%, 51%)
CMYKcmyk(0%, 2.3%, 73.3%, 48.6%)
CIE-LABlab(52.27, -10.45, 48.01)
CIE-LCHlch(52.27, 49.13, 102.29°)
OKLaboklab(58.5% -0.0336 0.1064)
OKLCHoklch(58.5% 0.112 107.5)
XYZxyz(17.3833, 20.3856, 4.6089)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838023 #232683
analogous
#835023 #838023 #568323
triadic
#838023 #238380 #802383
tetradic
#838023 #238350 #232683 #832356
square
#838023 #238350 #232683 #832356
split-complementary
#838023 #235683 #502383
monochromatic
#222209 #535116 #838023 #B3AF30 #D0CC50

Accessibility & contrast

On white

4.14
#838023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##838023#FFFFFF#000000##000000
##8380231.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #838023;
/* rgb */ color: rgb(131, 128, 35);
/* oklch */ color: oklch(58.5% 0.112 107.5);
Tailwind
colors: {
  custom: {
    50: '#aaa465',
    500: '#838023',
    950: '#000000',
  },
}
SCSS
$custom: #838023;
$custom-light: #aaa465;
$custom-dark: #000000;
JSON
{
  "hex": "#838023",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 58.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.11161,
    "h": 107.5
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#838023
secondary
#4E51B4
accent
#4CE147
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838023

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

Preview Lab → · Contrast checker → · Palette generator →

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