#CFC75B#CFC75B

#CFC75B is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.130 H 105.0°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CFC75B
RGBrgb(207, 199, 91)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 56%, 81%)
CMYKcmyk(0%, 3.9%, 56%, 18.8%)
CIE-LABlab(78.97, -11.04, 54.06)
CIE-LCHlch(78.97, 55.17, 101.54°)
OKLaboklab(81.49% -0.0337 0.1256)
OKLCHoklch(81.49% 0.13 105)
XYZxyz(48.0454, 54.8691, 17.9555)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC75B #5B63CF
analogous
#CF8D5B #CFC75B #9DCF5B
triadic
#CFC75B #5BCFC7 #C75BCF
tetradic
#CFC75B #5BCF8D #5B63CF #CF5B9D
square
#CFC75B #5BCF8D #5B63CF #CF5B9D
split-complementary
#CFC75B #5B9DCF #8D5BCF
monochromatic
#888128 #B7AE36 #CFC75B #DDD78A #EBE7BA

Accessibility & contrast

On white

1.75
#CFC75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CFC75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC75B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC75B#FFFFFF#000000##000000
##CFC75B1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C150
Deuteranopia (green-blind)
#D9C661
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc75b;
/* rgb */ color: rgb(207, 199, 91);
/* oklch */ color: oklch(81.5% 0.130 105.0);
Tailwind
colors: {
  custom: {
    50: '#e0d78d',
    500: '#cfc75b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc75b;
$custom-light: #e0d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc75b",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 55.862,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81486,
    "c": 0.13002,
    "h": 105
  },
  "luminance": 0.54868
}

Semantic roles & 50–950 ramp

primary
#CFC75B
secondary
#40458F
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC75B

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

Preview Lab → · Contrast checker → · Palette generator →

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