#838B14#838B14

#838B14 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.0% C 0.131 H 113.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#838B14
RGBrgb(131, 139, 20)
HSLhsl(64, 75%, 31%)
HSVhsv(64, 86%, 55%)
CMYKcmyk(5.8%, 0%, 85.6%, 45.5%)
CIE-LABlab(55.42, -16.95, 55.67)
CIE-LCHlch(55.42, 58.19, 106.93°)
OKLaboklab(60.99% -0.053 0.1199)
OKLCHoklch(60.99% 0.131 113.8)
XYZxyz(18.7196, 23.3414, 4.1809)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838B14 #1C148B
analogous
#8B5714 #838B14 #478B14
triadic
#838B14 #14838B #8B1483
tetradic
#838B14 #148B57 #1C148B #8B1447
square
#838B14 #148B57 #1C148B #8B1447
split-complementary
#838B14 #14478B #57148B
monochromatic
#1E2005 #51550C #838B14 #B5C11C #D7E237

Accessibility & contrast

On white

3.70
#838B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#838B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838B14
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838B14#FFFFFF#000000##000000
##838B141.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#8C8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838b14;
/* rgb */ color: rgb(131, 139, 20);
/* oklch */ color: oklch(61.0% 0.131 113.8);
Tailwind
colors: {
  custom: {
    50: '#abac60',
    500: '#838b14',
    950: '#000000',
  },
}
SCSS
$custom: #838b14;
$custom-light: #abac60;
$custom-dark: #000000;
JSON
{
  "hex": "#838b14",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 64.034,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.13112,
    "h": 113.8
  },
  "luminance": 0.23341
}

Semantic roles & 50–950 ramp

primary
#838B14
secondary
#453CBF
accent
#36F143
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838B14

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

Preview Lab → · Contrast checker → · Palette generator →

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