#C7BD26#C7BD26

#C7BD26 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.2% C 0.157 H 105.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C7BD26
RGBrgb(199, 189, 38)
HSLhsl(56, 68%, 46%)
HSVhsv(56, 81%, 78%)
CMYKcmyk(0%, 5%, 80.9%, 22%)
CIE-LABlab(75.25, -12.18, 70.17)
CIE-LCHlch(75.25, 71.22, 99.84°)
OKLaboklab(78.25% -0.0418 0.1515)
OKLCHoklch(78.25% 0.157 105.4)
XYZxyz(42.1025, 48.6789, 9.0116)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD26 #2630C7
analogous
#C76D26 #C7BD26 #81C726
triadic
#C7BD26 #26C7BD #BD26C7
tetradic
#C7BD26 #26C76D #2630C7 #C72681
square
#C7BD26 #26C76D #2630C7 #C72681
split-complementary
#C7BD26 #2681C7 #6D26C7
monochromatic
#605B12 #948C1C #C7BD26 #DDD44D #E7E081

Accessibility & contrast

On white

1.96
#C7BD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#C7BD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD26
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD26#FFFFFF#000000##000000
##C7BD261.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#D2BC34
Tritanopia (blue-blind)
#D6B0A2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bd26;
/* rgb */ color: rgb(199, 189, 38);
/* oklch */ color: oklch(78.2% 0.157 105.4);
Tailwind
colors: {
  custom: {
    50: '#dcd06f',
    500: '#c7bd26',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd26;
$custom-light: #dcd06f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd26",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 38
  },
  "hsl": {
    "h": 56.273,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78249,
    "c": 0.15712,
    "h": 105.4
  },
  "luminance": 0.48677
}

Semantic roles & 50–950 ramp

primary
#C7BD26
secondary
#797FCF
accent
#48EB3D
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7BD26

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

Preview Lab → · Contrast checker → · Palette generator →

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