#7A8D14#7A8D14

#7A8D14 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.7% C 0.137 H 119.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A8D14
RGBrgb(122, 141, 20)
HSLhsl(69, 75%, 32%)
HSVhsv(69, 86%, 55%)
CMYKcmyk(13.5%, 0%, 85.8%, 44.7%)
CIE-LABlab(55.32, -21.99, 55.30)
CIE-LCHlch(55.32, 59.51, 111.69°)
OKLaboklab(60.73% -0.0663 0.1195)
OKLCHoklch(60.73% 0.137 119)
XYZxyz(17.6776, 23.2380, 4.2158)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D14 #27148D
analogous
#8D6414 #7A8D14 #3E8D14
triadic
#7A8D14 #147A8D #8D147A
tetradic
#7A8D14 #148D64 #27148D #8D143E
square
#7A8D14 #148D64 #27148D #8D143E
split-complementary
#7A8D14 #143E8D #64148D
monochromatic
#1D2205 #4C570C #7A8D14 #A8C31C #C8E339

Accessibility & contrast

On white

3.72
#7A8D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7A8D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8D14
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8D14#FFFFFF#000000##000000
##7A8D141.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#828578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a8d14;
/* rgb */ color: rgb(122, 141, 20);
/* oklch */ color: oklch(60.7% 0.137 119.0);
Tailwind
colors: {
  custom: {
    50: '#a4ae60',
    500: '#7a8d14',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d14;
$custom-light: #a4ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d14",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 69.421,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.13671,
    "h": 119
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#7A8D14
secondary
#513CC1
accent
#36F254
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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