#CFCB4F#CFCB4F

#CFCB4F is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.144 H 107.4°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CFCB4F
RGBrgb(207, 203, 79)
HSLhsl(58, 57%, 56%)
HSVhsv(58, 62%, 81%)
CMYKcmyk(0%, 1.9%, 61.8%, 18.8%)
CIE-LABlab(79.92, -13.90, 60.39)
CIE-LCHlch(79.92, 61.97, 102.97°)
OKLaboklab(82.21% -0.0432 0.1375)
OKLCHoklch(82.21% 0.144 107.4)
XYZxyz(48.5009, 56.5433, 15.7547)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB4F #4F53CF
analogous
#CF8B4F #CFCB4F #93CF4F
triadic
#CFCB4F #4FCFCB #CB4FCF
tetradic
#CFCB4F #4FCF8B #4F53CF #CF4F93
square
#CFCB4F #4FCF8B #4F53CF #CF4F93
split-complementary
#CFCB4F #4F93CF #8B4FCF
monochromatic
#817E23 #B1AD30 #CFCB4F #DCD97F #E9E7AF

Accessibility & contrast

On white

1.71
#CFCB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CFCB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB4F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB4F#FFFFFF#000000##000000
##CFCB4F1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#DDBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb4f;
/* rgb */ color: rgb(207, 203, 79);
/* oklch */ color: oklch(82.2% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1da86',
    500: '#cfcb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb4f;
$custom-light: #e1da86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb4f",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 58.125,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82212,
    "c": 0.14411,
    "h": 107.4
  },
  "luminance": 0.56542
}

Semantic roles & 50–950 ramp

primary
#CFCB4F
secondary
#3A3D88
accent
#4CE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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