#C7CB4B#C7CB4B

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

Color values

HEX#C7CB4B
RGBrgb(199, 203, 75)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 63%, 80%)
CMYKcmyk(2%, 0%, 63.1%, 20.4%)
CIE-LABlab(79.25, -17.48, 61.14)
CIE-LCHlch(79.25, 63.59, 105.96°)
OKLaboklab(81.51% -0.0532 0.1387)
OKLCHoklch(81.51% 0.149 111)
XYZxyz(46.1805, 55.3631, 14.9087)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB4B #4F4BCB
analogous
#CB8F4B #C7CB4B #87CB4B
triadic
#C7CB4B #4BC7CB #CB4BC7
tetradic
#C7CB4B #4BCB8F #4F4BCB #CB4B87
square
#C7CB4B #4BCB8F #4F4BCB #CB4B87
split-complementary
#C7CB4B #4B87CB #8F4BCB
monochromatic
#767923 #A4A831 #C7CB4B #D6D97A #E5E6AA

Accessibility & contrast

On white

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

On black

12.07
#C7CB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB4B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB4B#FFFFFF#000000##000000
##C7CB4B1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cb4b;
/* rgb */ color: rgb(199, 203, 75);
/* oklch */ color: oklch(81.5% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda83',
    500: '#c7cb4b',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb4b;
$custom-light: #dbda83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb4b",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 61.875,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81509,
    "c": 0.14858,
    "h": 111
  },
  "luminance": 0.55362
}

Semantic roles & 50–950 ramp

primary
#C7CB4B
secondary
#3B3981
accent
#49DF4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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