#C7CB3F#C7CB3F

#C7CB3F is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.4% C 0.157 H 111.0°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C7CB3F
RGBrgb(199, 203, 63)
HSLhsl(62, 57%, 52%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2%, 0%, 69%, 20.4%)
CIE-LABlab(79.16, -18.18, 65.73)
CIE-LCHlch(79.16, 68.20, 105.46°)
OKLaboklab(81.41% -0.0564 0.1465)
OKLCHoklch(81.41% 0.157 111)
XYZxyz(45.8078, 55.2141, 12.9460)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB3F #433FCB
analogous
#CB893F #C7CB3F #81CB3F
triadic
#C7CB3F #3FC7CB #CB3FC7
tetradic
#C7CB3F #3FCB89 #433FCB #CB3F81
square
#C7CB3F #3FCB89 #433FCB #CB3F81
split-complementary
#C7CB3F #3F81CB #893FCB
monochromatic
#6F711F #9EA12C #C7CB3F #D5D86F #E3E59F

Accessibility & contrast

On white

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

On black

12.04
#C7CB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB3F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB3F#FFFFFF#000000##000000
##C7CB3F1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC228
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb3f;
/* rgb */ color: rgb(199, 203, 63);
/* oklch */ color: oklch(81.4% 0.157 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda7d',
    500: '#c7cb3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb3f;
$custom-light: #dbda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb3f",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 61.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81413,
    "c": 0.15699,
    "h": 111
  },
  "luminance": 0.55213
}

Semantic roles & 50–950 ramp

primary
#C7CB3F
secondary
#36347A
accent
#47E14C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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