#CFBC2C#CFBC2C

#CFBC2C is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.153 H 101.3°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CFBC2C
RGBrgb(207, 188, 44)
HSLhsl(53, 65%, 49%)
HSVhsv(53, 79%, 81%)
CMYKcmyk(0%, 9.2%, 78.7%, 18.8%)
CIE-LABlab(75.71, -8.01, 69.12)
CIE-LCHlch(75.71, 69.58, 96.61°)
OKLaboklab(78.79% -0.03 0.15)
OKLCHoklch(78.79% 0.153 101.3)
XYZxyz(44.1721, 49.4158, 9.5939)
Luminance0.4941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC2C #2C3FCF
analogous
#CF6B2C #CFBC2C #91CF2C
triadic
#CFBC2C #2CCFBC #BC2CCF
tetradic
#CFBC2C #2CCF6B #2C3FCF #CF2C91
square
#CFBC2C #2CCF6B #2C3FCF #CF2C91
split-complementary
#CFBC2C #2C91CF #6B2CCF
monochromatic
#6A6017 #9D8E21 #CFBC2C #DCCD5C #E7DD8E

Accessibility & contrast

On white

1.93
#CFBC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#CFBC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC2C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC2C#FFFFFF#000000##000000
##CFBC2C1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#D4BE37
Tritanopia (blue-blind)
#DFAEA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc2c;
/* rgb */ color: rgb(207, 188, 44);
/* oklch */ color: oklch(78.8% 0.153 101.3);
Tailwind
colors: {
  custom: {
    50: '#e2cf72',
    500: '#cfbc2c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc2c;
$custom-light: #e2cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc2c",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 53.006,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78788,
    "c": 0.15295,
    "h": 101.3
  },
  "luminance": 0.49414
}

Semantic roles & 50–950 ramp

primary
#CFBC2C
secondary
#858ED1
accent
#53E840
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CFBC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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