#CFC13B#CFC13B

#CFC13B is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.149 H 103.2°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CFC13B
RGBrgb(207, 193, 59)
HSLhsl(54, 61%, 52%)
HSVhsv(54, 71%, 81%)
CMYKcmyk(0%, 6.8%, 71.5%, 18.8%)
CIE-LABlab(77.11, -9.95, 65.41)
CIE-LCHlch(77.11, 66.16, 98.65°)
OKLaboklab(79.93% -0.0341 0.1449)
OKLCHoklch(79.93% 0.149 103.2)
XYZxyz(45.5935, 51.7230, 11.7187)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC13B #3B49CF
analogous
#CF773B #CFC13B #93CF3B
triadic
#CFC13B #3BCFC1 #C13BCF
tetradic
#CFC13B #3BCF77 #3B49CF #CF3B93
square
#CFC13B #3BCF77 #3B49CF #CF3B93
split-complementary
#CFC13B #3B93CF #773BCF
monochromatic
#736B1C #A59928 #CFC13B #DBD16C #E7E09D

Accessibility & contrast

On white

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

On black

11.34
#CFC13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC13B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC13B#FFFFFF#000000##000000
##CFC13B1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB24
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#DFB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc13b;
/* rgb */ color: rgb(207, 193, 59);
/* oklch */ color: oklch(79.9% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#e1d37a',
    500: '#cfc13b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc13b;
$custom-light: #e1d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc13b",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 54.324,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79931,
    "c": 0.14885,
    "h": 103.2
  },
  "luminance": 0.51721
}

Semantic roles & 50–950 ramp

primary
#CFC13B
secondary
#32397C
accent
#53E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC13B

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

Preview Lab → · Contrast checker → · Palette generator →

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