#C7BE45#C7BE45

#C7BE45 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.7% C 0.140 H 105.1°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#C7BE45
RGBrgb(199, 190, 69)
HSLhsl(56, 54%, 53%)
HSVhsv(56, 65%, 78%)
CMYKcmyk(0%, 4.5%, 65.3%, 22%)
CIE-LABlab(75.70, -11.29, 59.88)
CIE-LCHlch(75.70, 60.94, 100.68°)
OKLaboklab(78.66% -0.0364 0.1352)
OKLCHoklch(78.66% 0.14 105.1)
XYZxyz(43.0424, 49.4002, 12.8970)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE45 #454EC7
analogous
#C77D45 #C7BE45 #8FC745
triadic
#C7BE45 #45C7BE #BE45C7
tetradic
#C7BE45 #45C77D #454EC7 #C7458F
square
#C7BE45 #45C77D #454EC7 #C7458F
split-complementary
#C7BE45 #458FC7 #7D45C7
monochromatic
#706A22 #9F9730 #C7BE45 #D5CE74 #E3DFA3

Accessibility & contrast

On white

1.93
#C7BE45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#C7BE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE45
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE45#FFFFFF#000000##000000
##C7BE451.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB735
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#D5B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7be45;
/* rgb */ color: rgb(199, 190, 69);
/* oklch */ color: oklch(78.7% 0.140 105.1);
Tailwind
colors: {
  custom: {
    50: '#dbd17f',
    500: '#c7be45',
    950: '#000000',
  },
}
SCSS
$custom: #c7be45;
$custom-light: #dbd17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be45",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 69
  },
  "hsl": {
    "h": 55.846,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78663,
    "c": 0.13997,
    "h": 105.1
  },
  "luminance": 0.49399
}

Semantic roles & 50–950 ramp

primary
#C7BE45
secondary
#989CD0
accent
#55DD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BE45

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

Preview Lab → · Contrast checker → · Palette generator →

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