#C7BA26#C7BA26

#C7BA26 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.6% C 0.155 H 104.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C7BA26
RGBrgb(199, 186, 38)
HSLhsl(55, 68%, 46%)
HSVhsv(55, 81%, 78%)
CMYKcmyk(0%, 6.5%, 80.9%, 22%)
CIE-LABlab(74.45, -10.64, 69.47)
CIE-LCHlch(74.45, 70.28, 98.71°)
OKLaboklab(77.61% -0.0375 0.15)
OKLCHoklch(77.61% 0.155 104)
XYZxyz(41.4639, 47.4016, 8.7987)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BA26 #2633C7
analogous
#C76A26 #C7BA26 #84C726
triadic
#C7BA26 #26C7BA #BA26C7
tetradic
#C7BA26 #26C76A #2633C7 #C72684
square
#C7BA26 #26C76A #2633C7 #C72684
split-complementary
#C7BA26 #2684C7 #6A26C7
monochromatic
#605A12 #948A1C #C7BA26 #DDD14D #E7DF81

Accessibility & contrast

On white

2.00
#C7BA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#C7BA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BA26
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BA26#FFFFFF#000000##000000
##C7BA261.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#D0BA33
Tritanopia (blue-blind)
#D6AC9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7ba26;
/* rgb */ color: rgb(199, 186, 38);
/* oklch */ color: oklch(77.6% 0.155 104.0);
Tailwind
colors: {
  custom: {
    50: '#dcce6f',
    500: '#c7ba26',
    950: '#000000',
  },
}
SCSS
$custom: #c7ba26;
$custom-light: #dcce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ba26",
  "rgb": {
    "r": 199,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 55.155,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77607,
    "c": 0.15458,
    "h": 104
  },
  "luminance": 0.474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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