#838F15#838F15

#838F15 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.135 H 115.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#838F15
RGBrgb(131, 143, 21)
HSLhsl(66, 74%, 32%)
HSVhsv(66, 85%, 56%)
CMYKcmyk(8.4%, 0%, 85.3%, 43.9%)
CIE-LABlab(56.61, -18.99, 56.42)
CIE-LCHlch(56.61, 59.54, 108.60°)
OKLaboklab(61.95% -0.0585 0.1218)
OKLCHoklch(61.95% 0.135 115.7)
XYZxyz(19.3185, 24.5247, 4.4254)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F15 #21158F
analogous
#8F5E15 #838F15 #468F15
triadic
#838F15 #15838F #8F1583
tetradic
#838F15 #158F5E #21158F #8F1546
square
#838F15 #158F5E #21158F #8F1546
split-complementary
#838F15 #15468F #5E158F
monochromatic
#212405 #525A0D #838F15 #B4C41D #D2E23C

Accessibility & contrast

On white

3.56
#838F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#838F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838F15
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838F15#FFFFFF#000000##000000
##838F151.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838f15;
/* rgb */ color: rgb(131, 143, 21);
/* oklch */ color: oklch(61.9% 0.135 115.7);
Tailwind
colors: {
  custom: {
    50: '#abaf61',
    500: '#838f15',
    950: '#000000',
  },
}
SCSS
$custom: #838f15;
$custom-light: #abaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#838f15",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 65.902,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.13509,
    "h": 115.7
  },
  "luminance": 0.24524
}

Semantic roles & 50–950 ramp

primary
#838F15
secondary
#4B3EC2
accent
#37F149
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838F15

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

Preview Lab → · Contrast checker → · Palette generator →

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