#7D8723#7D8723

#7D8723 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.121 H 115.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7D8723
RGBrgb(125, 135, 35)
HSLhsl(66, 59%, 33%)
HSVhsv(66, 74%, 53%)
CMYKcmyk(7.4%, 0%, 74.1%, 47.1%)
CIE-LABlab(53.82, -16.92, 49.34)
CIE-LCHlch(53.82, 52.16, 108.93°)
OKLaboklab(59.61% -0.0513 0.1094)
OKLCHoklch(59.61% 0.121 115.1)
XYZxyz(17.4253, 21.8096, 4.8815)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8723 #2D2387
analogous
#875F23 #7D8723 #4B8723
triadic
#7D8723 #237D87 #87237D
tetradic
#7D8723 #23875F #2D2387 #87234B
square
#7D8723 #23875F #2D2387 #87234B
split-complementary
#7D8723 #234B87 #5F2387
monochromatic
#23260A #505616 #7D8723 #AAB830 #C5D252

Accessibility & contrast

On white

3.92
#7D8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7D8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8723
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8723#FFFFFF#000000##000000
##7D87231.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8723;
/* rgb */ color: rgb(125, 135, 35);
/* oklch */ color: oklch(59.6% 0.121 115.1);
Tailwind
colors: {
  custom: {
    50: '#a6a966',
    500: '#7d8723',
    950: '#000000',
  },
}
SCSS
$custom: #7d8723;
$custom-light: #a6a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8723",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 66,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59613,
    "c": 0.12088,
    "h": 115.1
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#7D8723
secondary
#5A50B6
accent
#46E255
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8723

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

Preview Lab → · Contrast checker → · Palette generator →

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