#C7CF3B#C7CF3B

#C7CF3B is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.3% C 0.164 H 112.6°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#C7CF3B
RGBrgb(199, 207, 59)
HSLhsl(63, 61%, 52%)
HSVhsv(63, 71%, 81%)
CMYKcmyk(3.9%, 0%, 71.5%, 18.8%)
CIE-LABlab(80.23, -20.35, 68.20)
CIE-LCHlch(80.23, 71.17, 106.61°)
OKLaboklab(82.26% -0.0628 0.151)
OKLCHoklch(82.26% 0.164 112.6)
XYZxyz(46.6569, 57.0846, 12.6975)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF3B #433BCF
analogous
#CF8D3B #C7CF3B #7DCF3B
triadic
#C7CF3B #3BC7CF #CF3BC7
tetradic
#C7CF3B #3BCF8D #433BCF #CF3B7D
square
#C7CF3B #3BCF8D #433BCF #CF3B7D
split-complementary
#C7CF3B #3B7DCF #8D3BCF
monochromatic
#6F731C #9EA528 #C7CF3B #D5DB6C #E3E79D

Accessibility & contrast

On white

1.69
#C7CF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#C7CF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF3B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF3B#FFFFFF#000000##000000
##C7CF3B1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC51F
Deuteranopia (green-blind)
#DFC947
Tritanopia (blue-blind)
#D4C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf3b;
/* rgb */ color: rgb(199, 207, 59);
/* oklch */ color: oklch(82.3% 0.164 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcdd7b',
    500: '#c7cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf3b;
$custom-light: #dcdd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf3b",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 63.243,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82256,
    "c": 0.16358,
    "h": 112.6
  },
  "luminance": 0.57084
}

Semantic roles & 50–950 ramp

primary
#C7CF3B
secondary
#36327C
accent
#44E44D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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