#7C8A29#7C8A29

#7C8A29 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.3% C 0.121 H 117.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7C8A29
RGBrgb(124, 138, 41)
HSLhsl(69, 54%, 35%)
HSVhsv(69, 70%, 54%)
CMYKcmyk(10.1%, 0%, 70.3%, 45.9%)
CIE-LABlab(54.68, -18.59, 47.82)
CIE-LCHlch(54.68, 51.30, 111.24°)
OKLaboklab(60.29% -0.0553 0.1073)
OKLCHoklch(60.29% 0.121 117.3)
XYZxyz(17.8013, 22.6223, 5.5262)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A29 #37298A
analogous
#8A6829 #7C8A29 #4B8A29
triadic
#7C8A29 #297C8A #8A297C
tetradic
#7C8A29 #298A68 #37298A #8A294B
square
#7C8A29 #298A68 #37298A #8A294B
split-complementary
#7C8A29 #294B8A #68298A
monochromatic
#272C0D #525B1B #7C8A29 #A6B937 #BFCF5E

Accessibility & contrast

On white

3.80
#7C8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7C8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A29
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A29#FFFFFF#000000##000000
##7C8A291.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831A
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#848277
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a29;
/* rgb */ color: rgb(124, 138, 41);
/* oklch */ color: oklch(60.3% 0.121 117.3);
Tailwind
colors: {
  custom: {
    50: '#a5ac69',
    500: '#7c8a29',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a29;
$custom-light: #a5ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a29",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 68.66,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60294,
    "c": 0.12073,
    "h": 117.3
  },
  "luminance": 0.22622
}

Semantic roles & 50–950 ramp

primary
#7C8A29
secondary
#675AB5
accent
#4ADE60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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