#C7BE4E#C7BE4E

#C7BE4E is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.133 H 104.7°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#C7BE4E
RGBrgb(199, 190, 78)
HSLhsl(56, 52%, 54%)
HSVhsv(56, 61%, 78%)
CMYKcmyk(0%, 4.5%, 60.8%, 22%)
CIE-LABlab(75.77, -10.72, 56.14)
CIE-LCHlch(75.77, 57.16, 100.81°)
OKLaboklab(78.75% -0.0338 0.1286)
OKLCHoklch(78.75% 0.133 104.7)
XYZxyz(43.3433, 49.5206, 14.4815)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE4E #4E57C7
analogous
#C7824E #C7BE4E #94C74E
triadic
#C7BE4E #4EC7BE #BE4EC7
tetradic
#C7BE4E #4EC782 #4E57C7 #C74E94
square
#C7BE4E #4EC782 #4E57C7 #C74E94
split-complementary
#C7BE4E #4E94C7 #824EC7
monochromatic
#756F25 #A49C34 #C7BE4E #D6CF7C #E4E0AB

Accessibility & contrast

On white

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

On black

10.90
#C7BE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE4E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE4E#FFFFFF#000000##000000
##C7BE4E1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB841
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#D5B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7be4e;
/* rgb */ color: rgb(199, 190, 78);
/* oklch */ color: oklch(78.7% 0.133 104.7);
Tailwind
colors: {
  custom: {
    50: '#dbd184',
    500: '#c7be4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7be4e;
$custom-light: #dbd184;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be4e",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 78
  },
  "hsl": {
    "h": 55.537,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78746,
    "c": 0.13292,
    "h": 104.7
  },
  "luminance": 0.49519
}

Semantic roles & 50–950 ramp

primary
#C7BE4E
secondary
#9FA3D2
accent
#57DB4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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