#7D8623#7D8623

#7D8623 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.120 H 114.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7D8623
RGBrgb(125, 134, 35)
HSLhsl(65, 59%, 33%)
HSVhsv(65, 74%, 53%)
CMYKcmyk(6.7%, 0%, 73.9%, 47.5%)
CIE-LABlab(53.53, -16.40, 49.05)
CIE-LCHlch(53.53, 51.72, 108.49°)
OKLaboklab(59.37% -0.0499 0.1088)
OKLCHoklch(59.37% 0.12 114.6)
XYZxyz(17.2864, 21.5318, 4.8352)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8623 #2C2386
analogous
#865E23 #7D8623 #4B8623
triadic
#7D8623 #237D86 #86237D
tetradic
#7D8623 #23865E #2C2386 #86234B
square
#7D8623 #23865E #2C2386 #86234B
split-complementary
#7D8623 #234B86 #5E2386
monochromatic
#22250A #505516 #7D8623 #AAB730 #C6D252

Accessibility & contrast

On white

3.96
#7D8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7D8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8623
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8623#FFFFFF#000000##000000
##7D86231.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#857E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d8623;
/* rgb */ color: rgb(125, 134, 35);
/* oklch */ color: oklch(59.4% 0.120 114.6);
Tailwind
colors: {
  custom: {
    50: '#a6a965',
    500: '#7d8623',
    950: '#000000',
  },
}
SCSS
$custom: #7d8623;
$custom-light: #a6a965;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8623",
  "rgb": {
    "r": 125,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 65.455,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.11972,
    "h": 114.6
  },
  "luminance": 0.21532
}

Semantic roles & 50–950 ramp

primary
#7D8623
secondary
#594FB5
accent
#46E254
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8623

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

Preview Lab → · Contrast checker → · Palette generator →

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