#C7B726#C7B726

#C7B726 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.0% C 0.152 H 102.6°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C7B726
RGBrgb(199, 183, 38)
HSLhsl(54, 68%, 46%)
HSVhsv(54, 81%, 78%)
CMYKcmyk(0%, 8%, 80.9%, 22%)
CIE-LABlab(73.64, -9.10, 68.78)
CIE-LCHlch(73.64, 69.38, 97.54°)
OKLaboklab(76.97% -0.0332 0.1485)
OKLCHoklch(76.97% 0.152 102.6)
XYZxyz(40.8385, 46.1509, 8.5902)
Luminance0.4615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B726 #2636C7
analogous
#C76726 #C7B726 #87C726
triadic
#C7B726 #26C7B7 #B726C7
tetradic
#C7B726 #26C767 #2636C7 #C72687
square
#C7B726 #26C767 #2636C7 #C72687
split-complementary
#C7B726 #2687C7 #6726C7
monochromatic
#605812 #94881C #C7B726 #DDCF4D #E7DD81

Accessibility & contrast

On white

2.05
#C7B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C7B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B726
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B726#FFFFFF#000000##000000
##C7B7261.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#D7A99D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b726;
/* rgb */ color: rgb(199, 183, 38);
/* oklch */ color: oklch(77.0% 0.152 102.6);
Tailwind
colors: {
  custom: {
    50: '#dccc6f',
    500: '#c7b726',
    950: '#000000',
  },
}
SCSS
$custom: #c7b726;
$custom-light: #dccc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b726",
  "rgb": {
    "r": 199,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 54.037,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76969,
    "c": 0.15212,
    "h": 102.6
  },
  "luminance": 0.46149
}

Semantic roles & 50–950 ramp

primary
#C7B726
secondary
#7982CF
accent
#4EEB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B726

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

Preview Lab → · Contrast checker → · Palette generator →

#C7B726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva