#CFC145#CFC145

#CFC145 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.142 H 102.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CFC145
RGBrgb(207, 193, 69)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 67%, 81%)
CMYKcmyk(0%, 6.8%, 66.7%, 18.8%)
CIE-LABlab(77.18, -9.44, 61.63)
CIE-LCHlch(77.18, 62.35, 98.70°)
OKLaboklab(80.01% -0.0316 0.1386)
OKLCHoklch(80.01% 0.142 102.8)
XYZxyz(45.8781, 51.8368, 13.2180)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC145 #4553CF
analogous
#CF7C45 #CFC145 #98CF45
triadic
#CFC145 #45CFC1 #C145CF
tetradic
#CFC145 #45CF7C #4553CF #CF4598
square
#CFC145 #45CF7C #4553CF #CF4598
split-complementary
#CFC145 #4598CF #7C45CF
monochromatic
#7A7120 #AB9E2C #CFC145 #DCD176 #E8E1A6

Accessibility & contrast

On white

1.85
#CFC145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CFC145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC145
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC145#FFFFFF#000000##000000
##CFC1451.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#DEB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc145;
/* rgb */ color: rgb(207, 193, 69);
/* oklch */ color: oklch(80.0% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e1d37f',
    500: '#cfc145',
    950: '#000000',
  },
}
SCSS
$custom: #cfc145;
$custom-light: #e1d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc145",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 53.913,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80007,
    "c": 0.14217,
    "h": 102.8
  },
  "luminance": 0.51835
}

Semantic roles & 50–950 ramp

primary
#CFC145
secondary
#363E82
accent
#56E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC145

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

Preview Lab → · Contrast checker → · Palette generator →

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