#7D7D23#7D7D23

#7D7D23 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.110 H 109.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D7D23
RGBrgb(125, 125, 35)
HSLhsl(60, 56%, 31%)
HSVhsv(60, 72%, 49%)
CMYKcmyk(0%, 0%, 72%, 51%)
CIE-LABlab(50.86, -11.57, 46.45)
CIE-LCHlch(50.86, 47.87, 103.99°)
OKLaboklab(57.24% -0.0364 0.1033)
OKLCHoklch(57.24% 0.11 109.4)
XYZxyz(16.0950, 19.1490, 4.4381)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D23 #23237D
analogous
#7D5023 #7D7D23 #507D23
triadic
#7D7D23 #237D7D #7D237D
tetradic
#7D7D23 #237D50 #23237D #7D2350
square
#7D7D23 #237D50 #23237D #7D2350
split-complementary
#7D7D23 #23507D #50237D
monochromatic
#1D1D08 #4D4D16 #7D7D23 #ADAD30 #CDCD4D

Accessibility & contrast

On white

4.35
#7D7D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7D7D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D23
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D23#FFFFFF#000000##000000
##7D7D231.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877814
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d23;
/* rgb */ color: rgb(125, 125, 35);
/* oklch */ color: oklch(57.2% 0.110 109.4);
Tailwind
colors: {
  custom: {
    50: '#a6a264',
    500: '#7d7d23',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d23;
$custom-light: #a6a264;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d23",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.10957,
    "h": 109.4
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#7D7D23
secondary
#4C4CAF
accent
#48E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7D7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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