#C7BB26#C7BB26

#C7BB26 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.8% C 0.155 H 104.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C7BB26
RGBrgb(199, 187, 38)
HSLhsl(56, 68%, 46%)
HSVhsv(56, 81%, 78%)
CMYKcmyk(0%, 6%, 80.9%, 22%)
CIE-LABlab(74.71, -11.15, 69.71)
CIE-LCHlch(74.71, 70.59, 99.09°)
OKLaboklab(77.82% -0.0389 0.1505)
OKLCHoklch(77.82% 0.155 104.5)
XYZxyz(41.6753, 47.8244, 8.8692)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB26 #2632C7
analogous
#C76B26 #C7BB26 #83C726
triadic
#C7BB26 #26C7BB #BB26C7
tetradic
#C7BB26 #26C76B #2632C7 #C72683
square
#C7BB26 #26C76B #2632C7 #C72683
split-complementary
#C7BB26 #2683C7 #6B26C7
monochromatic
#605A12 #948B1C #C7BB26 #DDD24D #E7DF81

Accessibility & contrast

On white

1.99
#C7BB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C7BB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB26
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB26#FFFFFF#000000##000000
##C7BB261.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#D0BB33
Tritanopia (blue-blind)
#D6AEA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb26;
/* rgb */ color: rgb(199, 187, 38);
/* oklch */ color: oklch(77.8% 0.155 104.5);
Tailwind
colors: {
  custom: {
    50: '#dccf6f',
    500: '#c7bb26',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb26;
$custom-light: #dccf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb26",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 38
  },
  "hsl": {
    "h": 55.528,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77821,
    "c": 0.15542,
    "h": 104.5
  },
  "luminance": 0.47823
}

Semantic roles & 50–950 ramp

primary
#C7BB26
secondary
#7980CF
accent
#4AEB3D
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7BB26

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

Preview Lab → · Contrast checker → · Palette generator →

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