#C7BE2D#C7BE2D

#C7BE2D is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.5% C 0.155 H 105.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#C7BE2D
RGBrgb(199, 190, 45)
HSLhsl(56, 63%, 48%)
HSVhsv(56, 77%, 78%)
CMYKcmyk(0%, 4.5%, 77.4%, 22%)
CIE-LABlab(75.55, -12.45, 68.41)
CIE-LCHlch(75.55, 69.54, 100.31°)
OKLaboklab(78.5% -0.042 0.149)
OKLCHoklch(78.5% 0.155 105.7)
XYZxyz(42.4421, 49.1601, 9.7353)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE2D #2D36C7
analogous
#C7712D #C7BE2D #83C72D
triadic
#C7BE2D #2DC7BE #BE2DC7
tetradic
#C7BE2D #2DC771 #2D36C7 #C72D83
square
#C7BE2D #2DC771 #2D36C7 #C72D83
split-complementary
#C7BE2D #2D83C7 #712DC7
monochromatic
#635F16 #958E22 #C7BE2D #D9D258 #E5DF8A

Accessibility & contrast

On white

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

On black

10.83
#C7BE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE2D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE2D#FFFFFF#000000##000000
##C7BE2D1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7be2d;
/* rgb */ color: rgb(199, 190, 45);
/* oklch */ color: oklch(78.5% 0.155 105.7);
Tailwind
colors: {
  custom: {
    50: '#dcd172',
    500: '#c7be2d',
    950: '#000000',
  },
}
SCSS
$custom: #c7be2d;
$custom-light: #dcd172;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be2d",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 45
  },
  "hsl": {
    "h": 56.494,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78497,
    "c": 0.1548,
    "h": 105.7
  },
  "luminance": 0.49158
}

Semantic roles & 50–950 ramp

primary
#C7BE2D
secondary
#8186CE
accent
#4BE642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C7BE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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