#C7B026#C7B026

#C7B026 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.147 H 99.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C7B026
RGBrgb(199, 176, 38)
HSLhsl(51, 68%, 46%)
HSVhsv(51, 81%, 78%)
CMYKcmyk(0%, 11.6%, 80.9%, 22%)
CIE-LABlab(71.78, -5.46, 67.16)
CIE-LCHlch(71.78, 67.38, 94.65°)
OKLaboklab(75.49% -0.0229 0.145)
OKLCHoklch(75.49% 0.147 99)
XYZxyz(39.4304, 43.3348, 8.1209)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B026 #263DC7
analogous
#C76026 #C7B026 #8DC726
triadic
#C7B026 #26C7B0 #B026C7
tetradic
#C7B026 #26C760 #263DC7 #C7268D
square
#C7B026 #26C760 #263DC7 #C7268D
split-complementary
#C7B026 #268DC7 #6026C7
monochromatic
#605512 #94831C #C7B026 #DDC84D #E7D881

Accessibility & contrast

On white

2.17
#C7B026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C7B026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B026
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B026#FFFFFF#000000##000000
##C7B0261.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C8B331
Tritanopia (blue-blind)
#D7A297
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b026;
/* rgb */ color: rgb(199, 176, 38);
/* oklch */ color: oklch(75.5% 0.147 99.0);
Tailwind
colors: {
  custom: {
    50: '#dcc76e',
    500: '#c7b026',
    950: '#000000',
  },
}
SCSS
$custom: #c7b026;
$custom-light: #dcc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b026",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 38
  },
  "hsl": {
    "h": 51.429,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75491,
    "c": 0.14676,
    "h": 99
  },
  "luminance": 0.43333
}

Semantic roles & 50–950 ramp

primary
#C7B026
secondary
#7986CF
accent
#56EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B026

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

Preview Lab → · Contrast checker → · Palette generator →

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