#CFC34F#CFC34F

#CFC34F is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.136 H 103.4°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CFC34F
RGBrgb(207, 195, 79)
HSLhsl(54, 57%, 56%)
HSVhsv(54, 62%, 81%)
CMYKcmyk(0%, 5.8%, 61.8%, 18.8%)
CIE-LABlab(77.79, -9.85, 58.10)
CIE-LCHlch(77.79, 58.93, 99.62°)
OKLaboklab(80.52% -0.0316 0.1327)
OKLCHoklch(80.52% 0.136 103.4)
XYZxyz(46.6602, 52.8619, 15.1411)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC34F #4F5BCF
analogous
#CF834F #CFC34F #9BCF4F
triadic
#CFC34F #4FCFC3 #C34FCF
tetradic
#CFC34F #4FCF83 #4F5BCF #CF4F9B
square
#CFC34F #4FCF83 #4F5BCF #CF4F9B
split-complementary
#CFC34F #4F9BCF #834FCF
monochromatic
#817823 #B1A530 #CFC34F #DCD37F #E9E4AF

Accessibility & contrast

On white

1.81
#CFC34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CFC34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC34F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC34F#FFFFFF#000000##000000
##CFC34F1.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD41
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc34f;
/* rgb */ color: rgb(207, 195, 79);
/* oklch */ color: oklch(80.5% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e1d485',
    500: '#cfc34f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc34f;
$custom-light: #e1d485;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc34f",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 79
  },
  "hsl": {
    "h": 54.375,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80518,
    "c": 0.13637,
    "h": 103.4
  },
  "luminance": 0.5286
}

Semantic roles & 50–950 ramp

primary
#CFC34F
secondary
#3A4288
accent
#56E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC34F

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

Preview Lab → · Contrast checker → · Palette generator →

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