#838C17#838C17

#838C17 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.131 H 114.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#838C17
RGBrgb(131, 140, 23)
HSLhsl(65, 72%, 32%)
HSVhsv(65, 84%, 55%)
CMYKcmyk(6.4%, 0%, 83.6%, 45.1%)
CIE-LABlab(55.73, -17.37, 55.15)
CIE-LCHlch(55.73, 57.82, 107.48°)
OKLaboklab(61.24% -0.0539 0.1194)
OKLCHoklch(61.24% 0.131 114.3)
XYZxyz(18.8934, 23.6437, 4.3789)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C17 #20178C
analogous
#8C5A17 #838C17 #498C17
triadic
#838C17 #17838C #8C1783
tetradic
#838C17 #178C5A #20178C #8C1749
square
#838C17 #178C5A #20178C #8C1749
split-complementary
#838C17 #17498C #5A178C
monochromatic
#212306 #52570E #838C17 #B4C120 #D3DF3E

Accessibility & contrast

On white

3.67
#838C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#838C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C17
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C17#FFFFFF#000000##000000
##838C171.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968723
Tritanopia (blue-blind)
#8C8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838c17;
/* rgb */ color: rgb(131, 140, 23);
/* oklch */ color: oklch(61.2% 0.131 114.3);
Tailwind
colors: {
  custom: {
    50: '#abad61',
    500: '#838c17',
    950: '#000000',
  },
}
SCSS
$custom: #838c17;
$custom-light: #abad61;
$custom-dark: #000000;
JSON
{
  "hex": "#838c17",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 64.615,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61242,
    "c": 0.13097,
    "h": 114.3
  },
  "luminance": 0.23643
}

Semantic roles & 50–950 ramp

primary
#838C17
secondary
#493FBF
accent
#39EF47
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838C17

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

Preview Lab → · Contrast checker → · Palette generator →

#838C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva