#838E27#838E27

#838E27 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.124 H 115.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#838E27
RGBrgb(131, 142, 39)
HSLhsl(66, 57%, 35%)
HSVhsv(66, 73%, 56%)
CMYKcmyk(7.7%, 0%, 72.5%, 44.3%)
CIE-LABlab(56.40, -17.70, 50.50)
CIE-LCHlch(56.40, 53.51, 109.32°)
OKLaboklab(61.81% -0.0535 0.1124)
OKLCHoklch(61.81% 0.124 115.4)
XYZxyz(19.3998, 24.3181, 5.5910)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E27 #32278E
analogous
#8E6527 #838E27 #4F8E27
triadic
#838E27 #27838E #8E2783
tetradic
#838E27 #278E65 #32278E #8E274F
square
#838E27 #278E65 #32278E #8E274F
split-complementary
#838E27 #274F8E #65278E
monochromatic
#2A2E0D #575E1A #838E27 #AFBE34 #C6D25D

Accessibility & contrast

On white

3.58
#838E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#838E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E27
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E27#FFFFFF#000000##000000
##838E271.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988715
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e27;
/* rgb */ color: rgb(131, 142, 39);
/* oklch */ color: oklch(61.8% 0.124 115.4);
Tailwind
colors: {
  custom: {
    50: '#aaaf68',
    500: '#838e27',
    950: '#000000',
  },
}
SCSS
$custom: #838e27;
$custom-light: #aaaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#838e27",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 66.408,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61811,
    "c": 0.12447,
    "h": 115.4
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#838E27
secondary
#6359B8
accent
#48E058
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838E27

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

Preview Lab → · Contrast checker → · Palette generator →

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