#CFC75A#CFC75A

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

Color values

HEX#CFC75A
RGBrgb(207, 199, 90)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.9%, 56.5%, 18.8%)
CIE-LABlab(78.96, -11.11, 54.50)
CIE-LCHlch(78.96, 55.62, 101.53°)
OKLaboklab(81.47% -0.034 0.1264)
OKLCHoklch(81.47% 0.131 105.1)
XYZxyz(48.0025, 54.8520, 17.7298)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC75A #5A62CF
analogous
#CF8C5A #CFC75A #9DCF5A
triadic
#CFC75A #5ACFC7 #C75ACF
tetradic
#CFC75A #5ACF8C #5A62CF #CF5A9D
square
#CFC75A #5ACF8C #5A62CF #CF5A9D
split-complementary
#CFC75A #5A9DCF #8C5ACF
monochromatic
#878127 #B7AE35 #CFC75A #DDD789 #EBE7B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC75A#FFFFFF#000000##000000
##CFC75A1.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)
#D6C14F
Deuteranopia (green-blind)
#D9C660
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc75a;
/* rgb */ color: rgb(207, 199, 90);
/* oklch */ color: oklch(81.5% 0.131 105.1);
Tailwind
colors: {
  custom: {
    50: '#e0d78c',
    500: '#cfc75a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc75a;
$custom-light: #e0d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc75a",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 55.897,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81475,
    "c": 0.13092,
    "h": 105.1
  },
  "luminance": 0.5485
}

Semantic roles & 50–950 ramp

primary
#CFC75A
secondary
#3F458E
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC75A

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

Preview Lab → · Contrast checker → · Palette generator →

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