#7E8723#7E8723

#7E8723 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.7% C 0.121 H 114.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E8723
RGBrgb(126, 135, 35)
HSLhsl(65, 59%, 33%)
HSVhsv(65, 74%, 53%)
CMYKcmyk(6.7%, 0%, 74.1%, 47.1%)
CIE-LABlab(53.91, -16.48, 49.44)
CIE-LCHlch(53.91, 52.12, 108.43°)
OKLaboklab(59.7% -0.0502 0.1096)
OKLCHoklch(59.7% 0.121 114.6)
XYZxyz(17.5720, 21.8852, 4.8884)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8723 #2C2387
analogous
#875E23 #7E8723 #4C8723
triadic
#7E8723 #237E87 #87237E
tetradic
#7E8723 #23875E #2C2387 #87234C
square
#7E8723 #23875E #2C2387 #87234C
split-complementary
#7E8723 #234C87 #5E2387
monochromatic
#23260A #515616 #7E8723 #ABB830 #C7D252

Accessibility & contrast

On white

3.91
#7E8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8723
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8723#FFFFFF#000000##000000
##7E87231.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#877F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e8723;
/* rgb */ color: rgb(126, 135, 35);
/* oklch */ color: oklch(59.7% 0.121 114.6);
Tailwind
colors: {
  custom: {
    50: '#a6a966',
    500: '#7e8723',
    950: '#000000',
  },
}
SCSS
$custom: #7e8723;
$custom-light: #a6a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8723",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 65.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.12056,
    "h": 114.6
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#7E8723
secondary
#5950B6
accent
#46E254
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8723

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8723 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva