#C7CB5A#C7CB5A

#C7CB5A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.136 H 110.9°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C7CB5A
RGBrgb(199, 203, 90)
HSLhsl(62, 52%, 57%)
HSVhsv(62, 56%, 80%)
CMYKcmyk(2%, 0%, 55.7%, 20.4%)
CIE-LABlab(79.38, -16.43, 54.81)
CIE-LCHlch(79.38, 57.22, 106.68°)
OKLaboklab(81.66% -0.0486 0.1272)
OKLCHoklch(81.66% 0.136 110.9)
XYZxyz(46.7557, 55.5932, 17.9384)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB5A #5E5ACB
analogous
#CB975A #C7CB5A #8ECB5A
triadic
#C7CB5A #5AC7CB #CB5AC7
tetradic
#C7CB5A #5ACB97 #5E5ACB #CB5A8E
square
#C7CB5A #5ACB97 #5E5ACB #CB5A8E
split-complementary
#C7CB5A #5A8ECB #975ACB
monochromatic
#7F8229 #ACB038 #C7CB5A #D7DA89 #E7E8B7

Accessibility & contrast

On white

1.73
#C7CB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C7CB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB5A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB5A#FFFFFF#000000##000000
##C7CB5A1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#D3C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cb5a;
/* rgb */ color: rgb(199, 203, 90);
/* oklch */ color: oklch(81.7% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#dada8c',
    500: '#c7cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb5a;
$custom-light: #dada8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb5a",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 62.124,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81657,
    "c": 0.13621,
    "h": 110.9
  },
  "luminance": 0.55592
}

Semantic roles & 50–950 ramp

primary
#C7CB5A
secondary
#434089
accent
#4CDC51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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