#7D7623#7D7623

#7D7623 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.102 H 104.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D7623
RGBrgb(125, 118, 35)
HSLhsl(55, 56%, 31%)
HSVhsv(55, 72%, 49%)
CMYKcmyk(0%, 5.6%, 72%, 51%)
CIE-LABlab(48.81, -7.71, 44.42)
CIE-LCHlch(48.81, 45.08, 99.85°)
OKLaboklab(55.61% -0.0256 0.0991)
OKLCHoklch(55.61% 0.102 104.5)
XYZxyz(15.2399, 17.4388, 4.1530)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7623 #232A7D
analogous
#7D4923 #7D7623 #577D23
triadic
#7D7623 #237D76 #76237D
tetradic
#7D7623 #237D49 #232A7D #7D2357
square
#7D7623 #237D49 #232A7D #7D2357
split-complementary
#7D7623 #23577D #49237D
monochromatic
#1D1C08 #4D4916 #7D7623 #ADA330 #CDC34D

Accessibility & contrast

On white

4.68
#7D7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7D7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7623
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7623#FFFFFF#000000##FFFFFF
##7D76231.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817216
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#876E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7623;
/* rgb */ color: rgb(125, 118, 35);
/* oklch */ color: oklch(55.6% 0.102 104.5);
Tailwind
colors: {
  custom: {
    50: '#a69d64',
    500: '#7d7623',
    950: '#000000',
  },
}
SCSS
$custom: #7d7623;
$custom-light: #a69d64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7623",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 55.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.10229,
    "h": 104.5
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#7D7623
secondary
#4C54AF
accent
#54E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7623

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

Preview Lab → · Contrast checker → · Palette generator →

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