#838F14#838F14

#838F14 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#838F14
RGBrgb(131, 143, 20)
HSLhsl(66, 75%, 32%)
HSVhsv(66, 86%, 56%)
CMYKcmyk(8.4%, 0%, 86%, 43.9%)
CIE-LABlab(56.61, -19.02, 56.67)
CIE-LCHlch(56.61, 59.78, 108.56°)
OKLaboklab(61.94% -0.0587 0.1221)
OKLCHoklch(61.94% 0.135 115.7)
XYZxyz(19.3094, 24.5210, 4.3775)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F14 #20148F
analogous
#8F5E14 #838F14 #458F14
triadic
#838F14 #14838F #8F1483
tetradic
#838F14 #148F5E #20148F #8F1445
square
#838F14 #148F5E #20148F #8F1445
split-complementary
#838F14 #14458F #5E148F
monochromatic
#212405 #52590C #838F14 #B4C51C #D3E33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838F14#FFFFFF#000000##000000
##838F141.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: #838f14;
/* rgb */ color: rgb(131, 143, 20);
/* oklch */ color: oklch(61.9% 0.135 115.7);
Tailwind
colors: {
  custom: {
    50: '#abaf60',
    500: '#838f14',
    950: '#000000',
  },
}
SCSS
$custom: #838f14;
$custom-light: #abaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#838f14",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 65.854,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.13547,
    "h": 115.7
  },
  "luminance": 0.24521
}

Semantic roles & 50–950 ramp

primary
#838F14
secondary
#493CC3
accent
#36F248
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838F14

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

Preview Lab → · Contrast checker → · Palette generator →

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