#C7CB4F#C7CB4F

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

Color values

HEX#C7CB4F
RGBrgb(199, 203, 79)
HSLhsl(62, 54%, 55%)
HSVhsv(62, 61%, 80%)
CMYKcmyk(2%, 0%, 61.1%, 20.4%)
CIE-LABlab(79.28, -17.22, 59.51)
CIE-LCHlch(79.28, 61.95, 106.14°)
OKLaboklab(81.55% -0.0521 0.1358)
OKLCHoklch(81.55% 0.145 111)
XYZxyz(46.3217, 55.4196, 15.6526)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB4F #534FCB
analogous
#CB914F #C7CB4F #89CB4F
triadic
#C7CB4F #4FC7CB #CB4FC7
tetradic
#C7CB4F #4FCB91 #534FCB #CB4F89
square
#C7CB4F #4FCB91 #534FCB #CB4F89
split-complementary
#C7CB4F #4F89CB #914FCB
monochromatic
#787B24 #A7AA32 #C7CB4F #D6D97E #E5E7AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB4F#FFFFFF#000000##000000
##C7CB4F1.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)
#DAC340
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb4f;
/* rgb */ color: rgb(199, 203, 79);
/* oklch */ color: oklch(81.5% 0.145 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda86',
    500: '#c7cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb4f;
$custom-light: #dbda86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb4f",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 61.935,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81546,
    "c": 0.14548,
    "h": 111
  },
  "luminance": 0.55418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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