#7D9013#7D9013

#7D9013 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.7% C 0.139 H 118.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D9013
RGBrgb(125, 144, 19)
HSLhsl(69, 77%, 32%)
HSVhsv(69, 87%, 56%)
CMYKcmyk(13.2%, 0%, 86.8%, 43.5%)
CIE-LABlab(56.44, -22.22, 56.58)
CIE-LCHlch(56.44, 60.79, 111.44°)
OKLaboklab(61.69% -0.0672 0.122)
OKLCHoklch(61.69% 0.139 118.8)
XYZxyz(18.5487, 24.3537, 4.3395)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9013 #261390
analogous
#906513 #7D9013 #3F9013
triadic
#7D9013 #137D90 #90137D
tetradic
#7D9013 #139065 #261390 #90133F
square
#7D9013 #139065 #261390 #90133F
split-complementary
#7D9013 #133F90 #651390
monochromatic
#1F2405 #4E5A0C #7D9013 #ACC61A #CBE539

Accessibility & contrast

On white

3.58
#7D9013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7D9013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9013
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9013#FFFFFF#000000##000000
##7D90131.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#85887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d9013;
/* rgb */ color: rgb(125, 144, 19);
/* oklch */ color: oklch(61.7% 0.139 118.8);
Tailwind
colors: {
  custom: {
    50: '#a6b060',
    500: '#7d9013',
    950: '#000000',
  },
}
SCSS
$custom: #7d9013;
$custom-light: #a6b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9013",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 19
  },
  "hsl": {
    "h": 69.12,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61692,
    "c": 0.13929,
    "h": 118.8
  },
  "luminance": 0.24354
}

Semantic roles & 50–950 ramp

primary
#7D9013
secondary
#503BC4
accent
#35F352
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D9013

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

Preview Lab → · Contrast checker → · Palette generator →

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