#838D10#838D10

#838D10 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.135 H 114.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#838D10
RGBrgb(131, 141, 16)
HSLhsl(65, 80%, 31%)
HSVhsv(65, 89%, 55%)
CMYKcmyk(7.1%, 0%, 88.7%, 44.7%)
CIE-LABlab(56.00, -18.10, 57.07)
CIE-LCHlch(56.00, 59.87, 107.60°)
OKLaboklab(61.45% -0.0564 0.1223)
OKLCHoklch(61.45% 0.135 114.7)
XYZxyz(18.9791, 23.9128, 4.1060)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D10 #1A108D
analogous
#8D5810 #838D10 #448D10
triadic
#838D10 #10838D #8D1083
tetradic
#838D10 #108D58 #1A108D #8D1044
square
#838D10 #108D58 #1A108D #8D1044
split-complementary
#838D10 #10448D #58108D
monochromatic
#1D1F04 #50560A #838D10 #B6C416 #D9E730

Accessibility & contrast

On white

3.63
#838D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#838D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D10
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D10#FFFFFF#000000##000000
##838D101.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#97871F
Tritanopia (blue-blind)
#8C8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838d10;
/* rgb */ color: rgb(131, 141, 16);
/* oklch */ color: oklch(61.5% 0.135 114.7);
Tailwind
colors: {
  custom: {
    50: '#abae5f',
    500: '#838d10',
    950: '#000000',
  },
}
SCSS
$custom: #838d10;
$custom-light: #abae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#838d10",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 64.8,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.13469,
    "h": 114.7
  },
  "luminance": 0.23912
}

Semantic roles & 50–950 ramp

primary
#838D10
secondary
#4237C2
accent
#32F641
background
#FAFAF5
surface
#F5F4EA
border
#CFCEC6
text
#111005
muted
#807F79

Preview Lab

Preview with #838D10

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

Preview Lab → · Contrast checker → · Palette generator →

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