#CFC743#CFC743

#CFC743 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.149 H 105.9°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CFC743
RGBrgb(207, 199, 67)
HSLhsl(57, 59%, 54%)
HSVhsv(57, 68%, 81%)
CMYKcmyk(0%, 3.9%, 67.6%, 18.8%)
CIE-LABlab(78.76, -12.60, 64.03)
CIE-LCHlch(78.76, 65.26, 101.13°)
OKLaboklab(81.26% -0.0407 0.1434)
OKLCHoklch(81.26% 0.149 105.9)
XYZxyz(47.1705, 54.5192, 13.3476)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC743 #434BCF
analogous
#CF8143 #CFC743 #91CF43
triadic
#CFC743 #43CFC7 #C743CF
tetradic
#CFC743 #43CF81 #434BCF #CF4391
square
#CFC743 #43CF81 #434BCF #CF4391
split-complementary
#CFC743 #4391CF #8143CF
monochromatic
#79741F #AAA22B #CFC743 #DBD674 #E8E4A5

Accessibility & contrast

On white

1.76
#CFC743 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CFC743 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC743
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC743#FFFFFF#000000##000000
##CFC7431.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C030
Deuteranopia (green-blind)
#DBC54C
Tritanopia (blue-blind)
#DEBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc743;
/* rgb */ color: rgb(207, 199, 67);
/* oklch */ color: oklch(81.3% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#e1d77f',
    500: '#cfc743',
    950: '#000000',
  },
}
SCSS
$custom: #cfc743;
$custom-light: #e1d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc743",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 67
  },
  "hsl": {
    "h": 56.571,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8126,
    "c": 0.14904,
    "h": 105.9
  },
  "luminance": 0.54517
}

Semantic roles & 50–950 ramp

primary
#CFC743
secondary
#353A81
accent
#4EE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC743

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

Preview Lab → · Contrast checker → · Palette generator →

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