#7D7C38#7D7C38

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

Color values

HEX#7D7C38
RGBrgb(125, 124, 56)
HSLhsl(59, 38%, 35%)
HSVhsv(59, 55%, 49%)
CMYKcmyk(0%, 0.8%, 55.2%, 51%)
CIE-LABlab(50.76, -9.51, 36.71)
CIE-LCHlch(50.76, 37.92, 104.53°)
OKLaboklab(57.22% -0.0282 0.0859)
OKLCHoklch(57.22% 0.09 108.2)
XYZxyz(16.3793, 19.0612, 6.5570)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C38 #38397D
analogous
#7D5938 #7D7C38 #5C7D38
triadic
#7D7C38 #387D7C #7C387D
tetradic
#7D7C38 #387D59 #38397D #7D385C
square
#7D7C38 #387D59 #38397D #7D385C
split-complementary
#7D7C38 #385C7D #59387D
monochromatic
#282812 #535225 #7D7C38 #A7A64B #BFBE70

Accessibility & contrast

On white

4.36
#7D7C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7D7C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C38
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C38#FFFFFF#000000##000000
##7D7C381.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#867A3C
Tritanopia (blue-blind)
#85756D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7c38;
/* rgb */ color: rgb(125, 124, 56);
/* oklch */ color: oklch(57.2% 0.090 108.2);
Tailwind
colors: {
  custom: {
    50: '#a4a171',
    500: '#7d7c38',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c38;
$custom-light: #a4a171;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c38",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 59.13,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.09036,
    "h": 108.2
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#7D7C38
secondary
#696AA8
accent
#5BCE5A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F08
muted
#7F7E7B

Preview Lab

Preview with #7D7C38

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

Preview Lab → · Contrast checker → · Palette generator →

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