#7C7D22#7C7D22

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

Color values

HEX#7C7D22
RGBrgb(124, 125, 34)
HSLhsl(61, 57%, 31%)
HSVhsv(61, 73%, 49%)
CMYKcmyk(0.8%, 0%, 72.8%, 51%)
CIE-LABlab(50.77, -12.09, 46.72)
CIE-LCHlch(50.77, 48.26, 104.50°)
OKLaboklab(57.14% -0.0379 0.1038)
OKLCHoklch(57.14% 0.11 110.1)
XYZxyz(15.9351, 19.0683, 4.3542)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D22 #23227D
analogous
#7D5022 #7C7D22 #4E7D22
triadic
#7C7D22 #227C7D #7D227C
tetradic
#7C7D22 #227D50 #23227D #7D224E
square
#7C7D22 #227D50 #23227D #7D224E
split-complementary
#7C7D22 #224E7D #50227D
monochromatic
#1D1D08 #4C4D15 #7C7D22 #ACAD2F #CDCE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7D22#FFFFFF#000000##000000
##7C7D221.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)
#877712
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d22;
/* rgb */ color: rgb(124, 125, 34);
/* oklch */ color: oklch(57.1% 0.110 110.1);
Tailwind
colors: {
  custom: {
    50: '#a5a264',
    500: '#7c7d22',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d22;
$custom-light: #a5a264;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d22",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 60.659,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.11047,
    "h": 110.1
  },
  "luminance": 0.19068
}

Semantic roles & 50–950 ramp

primary
#7C7D22
secondary
#4C4BB0
accent
#47E049
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7C7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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