#C7CB4E#C7CB4E

#C7CB4E is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.146 H 111.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C7CB4E
RGBrgb(199, 203, 78)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 62%, 80%)
CMYKcmyk(2%, 0%, 61.6%, 20.4%)
CIE-LABlab(79.27, -17.29, 59.92)
CIE-LCHlch(79.27, 62.37, 106.10°)
OKLaboklab(81.54% -0.0524 0.1366)
OKLCHoklch(81.54% 0.146 111)
XYZxyz(46.2856, 55.4052, 15.4623)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB4E #524ECB
analogous
#CB904E #C7CB4E #88CB4E
triadic
#C7CB4E #4EC7CB #CB4EC7
tetradic
#C7CB4E #4ECB90 #524ECB #CB4E88
square
#C7CB4E #4ECB90 #524ECB #CB4E88
split-complementary
#C7CB4E #4E88CB #904ECB
monochromatic
#787B24 #A6AA32 #C7CB4E #D6D97D #E5E7AD

Accessibility & contrast

On white

1.74
#C7CB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#C7CB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB4E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB4E#FFFFFF#000000##000000
##C7CB4E1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23F
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb4e;
/* rgb */ color: rgb(199, 203, 78);
/* oklch */ color: oklch(81.5% 0.146 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda85',
    500: '#c7cb4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb4e;
$custom-light: #dbda85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb4e",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 61.92,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81536,
    "c": 0.14627,
    "h": 111
  },
  "luminance": 0.55404
}

Semantic roles & 50–950 ramp

primary
#C7CB4E
secondary
#3D3A83
accent
#4ADE4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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