#C7BE26#C7BE26

#C7BE26 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.5% C 0.158 H 105.9°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C7BE26
RGBrgb(199, 190, 38)
HSLhsl(57, 68%, 46%)
HSVhsv(57, 81%, 78%)
CMYKcmyk(0%, 4.5%, 80.9%, 22%)
CIE-LABlab(75.52, -12.69, 70.40)
CIE-LCHlch(75.52, 71.54, 100.21°)
OKLaboklab(78.46% -0.0432 0.152)
OKLCHoklch(78.46% 0.158 105.9)
XYZxyz(42.3184, 49.1106, 9.0835)
Luminance0.4911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE26 #262FC7
analogous
#C76E26 #C7BE26 #80C726
triadic
#C7BE26 #26C7BE #BE26C7
tetradic
#C7BE26 #26C76E #262FC7 #C72680
square
#C7BE26 #26C76E #262FC7 #C72680
split-complementary
#C7BE26 #2680C7 #6E26C7
monochromatic
#605C12 #948D1C #C7BE26 #DDD54D #E7E181

Accessibility & contrast

On white

1.94
#C7BE26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C7BE26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE26
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE26#FFFFFF#000000##000000
##C7BE261.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D3BD34
Tritanopia (blue-blind)
#D6B1A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7be26;
/* rgb */ color: rgb(199, 190, 38);
/* oklch */ color: oklch(78.5% 0.158 105.9);
Tailwind
colors: {
  custom: {
    50: '#dcd16f',
    500: '#c7be26',
    950: '#000000',
  },
}
SCSS
$custom: #c7be26;
$custom-light: #dcd16f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be26",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 38
  },
  "hsl": {
    "h": 56.646,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78463,
    "c": 0.158,
    "h": 105.9
  },
  "luminance": 0.49109
}

Semantic roles & 50–950 ramp

primary
#C7BE26
secondary
#797ECF
accent
#47EB3D
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161408
muted
#84827B

Preview Lab

Preview with #C7BE26

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

Preview Lab → · Contrast checker → · Palette generator →

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