#C7B426#C7B426

#C7B426 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.150 H 101.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C7B426
RGBrgb(199, 180, 38)
HSLhsl(53, 68%, 46%)
HSVhsv(53, 81%, 78%)
CMYKcmyk(0%, 9.5%, 80.9%, 22%)
CIE-LABlab(72.84, -7.55, 68.08)
CIE-LCHlch(72.84, 68.50, 96.32°)
OKLaboklab(76.33% -0.0288 0.147)
OKLCHoklch(76.33% 0.15 101.1)
XYZxyz(40.2263, 44.9265, 8.3862)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B426 #2639C7
analogous
#C76426 #C7B426 #8AC726
triadic
#C7B426 #26C7B4 #B426C7
tetradic
#C7B426 #26C764 #2639C7 #C7268A
square
#C7B426 #26C764 #2639C7 #C7268A
split-complementary
#C7B426 #268AC7 #6426C7
monochromatic
#605712 #94861C #C7B426 #DDCC4D #E7DB81

Accessibility & contrast

On white

2.10
#C7B426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C7B426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B426
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B426#FFFFFF#000000##000000
##C7B4261.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#D7A69A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b426;
/* rgb */ color: rgb(199, 180, 38);
/* oklch */ color: oklch(76.3% 0.150 101.1);
Tailwind
colors: {
  custom: {
    50: '#dcca6e',
    500: '#c7b426',
    950: '#000000',
  },
}
SCSS
$custom: #c7b426;
$custom-light: #dcca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b426",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 38
  },
  "hsl": {
    "h": 52.919,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76334,
    "c": 0.14976,
    "h": 101.1
  },
  "luminance": 0.44925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7B426

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

Preview Lab → · Contrast checker → · Palette generator →

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