#CFC56A#CFC56A

#CFC56A is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.114 H 103.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CFC56A
RGBrgb(207, 197, 106)
HSLhsl(54, 51%, 61%)
HSVhsv(54, 49%, 81%)
CMYKcmyk(0%, 4.8%, 48.8%, 18.8%)
CIE-LABlab(78.60, -8.76, 46.54)
CIE-LCHlch(78.60, 47.36, 100.66°)
OKLaboklab(81.25% -0.0256 0.1107)
OKLCHoklch(81.25% 0.114 103)
XYZxyz(48.3012, 54.2400, 21.5579)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC56A #6A74CF
analogous
#CF936A #CFC56A #A7CF6A
triadic
#CFC56A #6ACFC5 #C56ACF
tetradic
#CFC56A #6ACF93 #6A74CF #CF6AA7
square
#CFC56A #6ACF93 #6A74CF #CF6AA7
split-complementary
#CFC56A #6AA7CF #936ACF
monochromatic
#90862E #BEB23D #CFC56A #DED798 #EDE9C7

Accessibility & contrast

On white

1.77
#CFC56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CFC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC56A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC56A#FFFFFF#000000##000000
##CFC56A1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C062
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#DCBAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc56a;
/* rgb */ color: rgb(207, 197, 106);
/* oklch */ color: oklch(81.3% 0.114 103.0);
Tailwind
colors: {
  custom: {
    50: '#dfd697',
    500: '#cfc56a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc56a;
$custom-light: #dfd697;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc56a",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 54.059,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8125,
    "c": 0.11363,
    "h": 103
  },
  "luminance": 0.54239
}

Semantic roles & 50–950 ramp

primary
#CFC56A
secondary
#474F96
accent
#36BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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