#838E0F#838E0F

#838E0F is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.136 H 115.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#838E0F
RGBrgb(131, 142, 15)
HSLhsl(65, 81%, 31%)
HSVhsv(65, 89%, 56%)
CMYKcmyk(7.7%, 0%, 89.4%, 44.3%)
CIE-LABlab(56.29, -18.64, 57.52)
CIE-LCHlch(56.29, 60.46, 107.96°)
OKLaboklab(61.69% -0.0579 0.1232)
OKLCHoklch(61.69% 0.136 115.2)
XYZxyz(19.1199, 24.2061, 4.1169)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E0F #1A0F8E
analogous
#8E590F #838E0F #438E0F
triadic
#838E0F #0F838E #8E0F83
tetradic
#838E0F #0F8E59 #1A0F8E #8E0F43
square
#838E0F #0F8E59 #1A0F8E #8E0F43
split-complementary
#838E0F #0F438E #590F8E
monochromatic
#1D1F03 #505709 #838E0F #B6C515 #D9E92E

Accessibility & contrast

On white

3.60
#838E0F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#838E0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E0F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E0F#FFFFFF#000000##000000
##838E0F1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#98881F
Tritanopia (blue-blind)
#8C8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e0f;
/* rgb */ color: rgb(131, 142, 15);
/* oklch */ color: oklch(61.7% 0.136 115.2);
Tailwind
colors: {
  custom: {
    50: '#abae5f',
    500: '#838e0f',
    950: '#000000',
  },
}
SCSS
$custom: #838e0f;
$custom-light: #abae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#838e0f",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 15
  },
  "hsl": {
    "h": 65.197,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.13609,
    "h": 115.2
  },
  "luminance": 0.24206
}

Semantic roles & 50–950 ramp

primary
#838E0F
secondary
#4236C3
accent
#31F742
background
#FAFAF5
surface
#F5F4EA
border
#CFCEC6
text
#111005
muted
#807F79

Preview Lab

Preview with #838E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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