#7D7A23#7D7A23

#7D7A23 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.106 H 107.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D7A23
RGBrgb(125, 122, 35)
HSLhsl(58, 56%, 31%)
HSVhsv(58, 72%, 49%)
CMYKcmyk(0%, 2.4%, 72%, 51%)
CIE-LABlab(49.98, -9.93, 45.58)
CIE-LCHlch(49.98, 46.65, 102.29°)
OKLaboklab(56.54% -0.0318 0.1015)
OKLCHoklch(56.54% 0.106 107.4)
XYZxyz(15.7209, 18.4009, 4.3134)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A23 #23267D
analogous
#7D4D23 #7D7A23 #537D23
triadic
#7D7A23 #237D7A #7A237D
tetradic
#7D7A23 #237D4D #23267D #7D2353
square
#7D7A23 #237D4D #23267D #7D2353
split-complementary
#7D7A23 #23537D #4D237D
monochromatic
#1D1D08 #4D4B16 #7D7A23 #ADA930 #CDC94D

Accessibility & contrast

On white

4.49
#7D7A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7D7A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A23
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A23#FFFFFF#000000##000000
##7D7A231.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847515
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#867269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a23;
/* rgb */ color: rgb(125, 122, 35);
/* oklch */ color: oklch(56.5% 0.106 107.4);
Tailwind
colors: {
  custom: {
    50: '#a6a064',
    500: '#7d7a23',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a23;
$custom-light: #a6a064;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a23",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 58,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.10638,
    "h": 107.4
  },
  "luminance": 0.184
}

Semantic roles & 50–950 ramp

primary
#7D7A23
secondary
#4C50AF
accent
#4DE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7A23

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

Preview Lab → · Contrast checker → · Palette generator →

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