#838314#838314

#838314 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.1% C 0.123 H 109.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#838314
RGBrgb(131, 131, 20)
HSLhsl(60, 74%, 30%)
HSVhsv(60, 85%, 51%)
CMYKcmyk(0%, 0%, 84.7%, 48.6%)
CIE-LABlab(53.07, -12.70, 53.67)
CIE-LCHlch(53.07, 55.16, 103.31°)
OKLaboklab(59.11% -0.0412 0.1156)
OKLCHoklch(59.11% 0.123 109.6)
XYZxyz(17.6033, 21.1090, 3.8088)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838314 #141483
analogous
#834C14 #838314 #4C8314
triadic
#838314 #148383 #831483
tetradic
#838314 #14834C #141483 #83144C
square
#838314 #14834C #141483 #83144C
split-complementary
#838314 #144C83 #4C1483
monochromatic
#1B1B04 #4E4E0C #838314 #B8B81C #E0E032

Accessibility & contrast

On white

4.02
#838314 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#838314 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838314
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838314#FFFFFF#000000##000000
##8383141.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#90801F
Tritanopia (blue-blind)
#8D7A6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838314;
/* rgb */ color: rgb(131, 131, 20);
/* oklch */ color: oklch(59.1% 0.123 109.6);
Tailwind
colors: {
  custom: {
    50: '#aba65f',
    500: '#838314',
    950: '#000000',
  },
}
SCSS
$custom: #838314;
$custom-light: #aba65f;
$custom-dark: #000000;
JSON
{
  "hex": "#838314",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.12275,
    "h": 109.6
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#838314
secondary
#3B3BB8
accent
#38F038
background
#FAFAF5
surface
#F5F4EA
border
#CFCEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #838314

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

Preview Lab → · Contrast checker → · Palette generator →

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