#C7B526#C7B526

#C7B526 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.151 H 101.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C7B526
RGBrgb(199, 181, 38)
HSLhsl(53, 68%, 46%)
HSVhsv(53, 81%, 78%)
CMYKcmyk(0%, 9%, 80.9%, 22%)
CIE-LABlab(73.11, -8.06, 68.32)
CIE-LCHlch(73.11, 68.79, 96.73°)
OKLaboklab(76.55% -0.0303 0.1475)
OKLCHoklch(76.55% 0.151 101.6)
XYZxyz(40.4289, 45.3317, 8.4537)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B526 #2638C7
analogous
#C76526 #C7B526 #89C726
triadic
#C7B526 #26C7B5 #B526C7
tetradic
#C7B526 #26C765 #2638C7 #C72689
square
#C7B526 #26C765 #2638C7 #C72689
split-complementary
#C7B526 #2689C7 #6526C7
monochromatic
#605812 #94861C #C7B526 #DDCD4D #E7DB81

Accessibility & contrast

On white

2.09
#C7B526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#C7B526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B526
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B526#FFFFFF#000000##000000
##C7B5261.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#CCB732
Tritanopia (blue-blind)
#D7A79B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b526;
/* rgb */ color: rgb(199, 181, 38);
/* oklch */ color: oklch(76.5% 0.151 101.6);
Tailwind
colors: {
  custom: {
    50: '#dcca6e',
    500: '#c7b526',
    950: '#000000',
  },
}
SCSS
$custom: #c7b526;
$custom-light: #dcca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b526",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 53.292,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76545,
    "c": 0.15053,
    "h": 101.6
  },
  "luminance": 0.4533
}

Semantic roles & 50–950 ramp

primary
#C7B526
secondary
#7983CF
accent
#50EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B526

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

Preview Lab → · Contrast checker → · Palette generator →

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