#C7CB3E#C7CB3E

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

Color values

HEX#C7CB3E
RGBrgb(199, 203, 62)
HSLhsl(62, 58%, 52%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2%, 0%, 69.5%, 20.4%)
CIE-LABlab(79.16, -18.23, 66.09)
CIE-LCHlch(79.16, 68.56, 105.42°)
OKLaboklab(81.41% -0.0566 0.1471)
OKLCHoklch(81.41% 0.158 111)
XYZxyz(45.7801, 55.2030, 12.8002)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB3E #423ECB
analogous
#CB893E #C7CB3E #81CB3E
triadic
#C7CB3E #3EC7CB #CB3EC7
tetradic
#C7CB3E #3ECB89 #423ECB #CB3E81
square
#C7CB3E #3ECB89 #423ECB #CB3E81
split-complementary
#C7CB3E #3E81CB #893ECB
monochromatic
#6E701E #9DA12B #C7CB3E #D5D86E #E3E59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB3E#FFFFFF#000000##000000
##C7CB3E1.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)
#DBC226
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb3e;
/* rgb */ color: rgb(199, 203, 62);
/* oklch */ color: oklch(81.4% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda7c',
    500: '#c7cb3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb3e;
$custom-light: #dbda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb3e",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 61.702,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81406,
    "c": 0.15762,
    "h": 111
  },
  "luminance": 0.55202
}

Semantic roles & 50–950 ramp

primary
#C7CB3E
secondary
#363479
accent
#47E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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