#818E0F#818E0F

#818E0F is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.137 H 116.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#818E0F
RGBrgb(129, 142, 15)
HSLhsl(66, 81%, 31%)
HSVhsv(66, 89%, 56%)
CMYKcmyk(9.2%, 0%, 89.4%, 44.3%)
CIE-LABlab(56.14, -19.54, 57.32)
CIE-LCHlch(56.14, 60.56, 108.82°)
OKLaboklab(61.52% -0.0603 0.1228)
OKLCHoklch(61.52% 0.137 116.1)
XYZxyz(18.8130, 24.0479, 4.1025)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E0F #1C0F8E
analogous
#8E5B0F #818E0F #418E0F
triadic
#818E0F #0F818E #8E0F81
tetradic
#818E0F #0F8E5B #1C0F8E #8E0F41
square
#818E0F #0F8E5B #1C0F8E #8E0F41
split-complementary
#818E0F #0F418E #5B0F8E
monochromatic
#1C1F03 #4F5709 #818E0F #B3C515 #D6E92E

Accessibility & contrast

On white

3.61
#818E0F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#818E0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E0F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E0F#FFFFFF#000000##000000
##818E0F1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818e0f;
/* rgb */ color: rgb(129, 142, 15);
/* oklch */ color: oklch(61.5% 0.137 116.1);
Tailwind
colors: {
  custom: {
    50: '#a9ae5f',
    500: '#818e0f',
    950: '#000000',
  },
}
SCSS
$custom: #818e0f;
$custom-light: #a9ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#818e0f",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 15
  },
  "hsl": {
    "h": 66.142,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.13681,
    "h": 116.1
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

primary
#818E0F
secondary
#4436C3
accent
#31F745
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #818E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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