#7C8B29#7C8B29

#7C8B29 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.5% C 0.122 H 117.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7C8B29
RGBrgb(124, 139, 41)
HSLhsl(69, 54%, 35%)
HSVhsv(69, 71%, 55%)
CMYKcmyk(10.8%, 0%, 70.5%, 45.5%)
CIE-LABlab(54.98, -19.11, 48.12)
CIE-LCHlch(54.98, 51.77, 111.66°)
OKLaboklab(60.54% -0.0568 0.1079)
OKLCHoklch(60.54% 0.122 117.7)
XYZxyz(17.9454, 22.9106, 5.5742)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B29 #38298B
analogous
#8B6929 #7C8B29 #4B8B29
triadic
#7C8B29 #297C8B #8B297C
tetradic
#7C8B29 #298B69 #38298B #8B294B
square
#7C8B29 #298B69 #38298B #8B294B
split-complementary
#7C8B29 #294B8B #69298B
monochromatic
#282C0D #525C1B #7C8B29 #A6BA37 #BED05F

Accessibility & contrast

On white

3.76
#7C8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7C8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B29
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B29#FFFFFF#000000##000000
##7C8B291.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b29;
/* rgb */ color: rgb(124, 139, 41);
/* oklch */ color: oklch(60.5% 0.122 117.7);
Tailwind
colors: {
  custom: {
    50: '#a5ac69',
    500: '#7c8b29',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b29;
$custom-light: #a5ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b29",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 69.184,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60535,
    "c": 0.12196,
    "h": 117.7
  },
  "luminance": 0.2291
}

Semantic roles & 50–950 ramp

primary
#7C8B29
secondary
#685BB5
accent
#4ADE61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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