#C7B626#C7B626

#C7B626 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.8% C 0.151 H 102.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C7B626
RGBrgb(199, 182, 38)
HSLhsl(54, 68%, 46%)
HSVhsv(54, 81%, 78%)
CMYKcmyk(0%, 8.5%, 80.9%, 22%)
CIE-LABlab(73.38, -8.58, 68.55)
CIE-LCHlch(73.38, 69.08, 97.14°)
OKLaboklab(76.76% -0.0317 0.148)
OKLCHoklch(76.76% 0.151 102.1)
XYZxyz(40.6330, 45.7398, 8.5217)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B626 #2637C7
analogous
#C76626 #C7B626 #87C726
triadic
#C7B626 #26C7B6 #B626C7
tetradic
#C7B626 #26C766 #2637C7 #C72687
square
#C7B626 #26C766 #2637C7 #C72687
split-complementary
#C7B626 #2687C7 #6626C7
monochromatic
#605812 #94871C #C7B626 #DDCE4D #E7DC81

Accessibility & contrast

On white

2.07
#C7B626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C7B626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B626
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B626#FFFFFF#000000##000000
##C7B6261.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#CDB732
Tritanopia (blue-blind)
#D7A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b626;
/* rgb */ color: rgb(199, 182, 38);
/* oklch */ color: oklch(76.8% 0.151 102.1);
Tailwind
colors: {
  custom: {
    50: '#dccb6e',
    500: '#c7b626',
    950: '#000000',
  },
}
SCSS
$custom: #c7b626;
$custom-light: #dccb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b626",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 38
  },
  "hsl": {
    "h": 53.665,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76757,
    "c": 0.15132,
    "h": 102.1
  },
  "luminance": 0.45738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7B626

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

Preview Lab → · Contrast checker → · Palette generator →

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