#7F8723#7F8723

#7F8723 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.120 H 114.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7F8723
RGBrgb(127, 135, 35)
HSLhsl(65, 59%, 33%)
HSVhsv(65, 74%, 53%)
CMYKcmyk(5.9%, 0%, 74.1%, 47.1%)
CIE-LABlab(53.99, -16.03, 49.55)
CIE-LCHlch(53.99, 52.08, 107.93°)
OKLaboklab(59.78% -0.049 0.1098)
OKLCHoklch(59.78% 0.12 114)
XYZxyz(17.7203, 21.9617, 4.8953)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8723 #2B2387
analogous
#875D23 #7F8723 #4D8723
triadic
#7F8723 #237F87 #87237F
tetradic
#7F8723 #23875D #2B2387 #87234D
square
#7F8723 #23875D #2B2387 #87234D
split-complementary
#7F8723 #234D87 #5D2387
monochromatic
#24260A #515616 #7F8723 #ADB830 #C8D252

Accessibility & contrast

On white

3.89
#7F8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7F8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8723
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8723#FFFFFF#000000##000000
##7F87231.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f8723;
/* rgb */ color: rgb(127, 135, 35);
/* oklch */ color: oklch(59.8% 0.120 114.0);
Tailwind
colors: {
  custom: {
    50: '#a7a966',
    500: '#7f8723',
    950: '#000000',
  },
}
SCSS
$custom: #7f8723;
$custom-light: #a7a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8723",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 64.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.12025,
    "h": 114
  },
  "luminance": 0.21961
}

Semantic roles & 50–950 ramp

primary
#7F8723
secondary
#5850B6
accent
#46E252
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7F8723

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

Preview Lab → · Contrast checker → · Palette generator →

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