#CFCB5F#CFCB5F

#CFCB5F is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.130 H 107.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CFCB5F
RGBrgb(207, 203, 95)
HSLhsl(58, 54%, 59%)
HSVhsv(58, 54%, 81%)
CMYKcmyk(0%, 1.9%, 54.1%, 18.8%)
CIE-LABlab(80.07, -12.75, 53.49)
CIE-LCHlch(80.07, 54.99, 103.41°)
OKLaboklab(82.38% -0.0382 0.1248)
OKLCHoklch(82.38% 0.13 107)
XYZxyz(49.1550, 56.8049, 19.1994)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB5F #5F63CF
analogous
#CF935F #CFCB5F #9BCF5F
triadic
#CFCB5F #5FCFCB #CB5FCF
tetradic
#CFCB5F #5FCF93 #5F63CF #CF5F9B
square
#CFCB5F #5FCF93 #5F63CF #CF5F9B
split-complementary
#CFCB5F #5F9BCF #935FCF
monochromatic
#8A8729 #B9B538 #CFCB5F #DDDA8E #EBEABD

Accessibility & contrast

On white

1.70
#CFCB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CFCB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB5F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB5F#FFFFFF#000000##000000
##CFCB5F1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#DCC965
Tritanopia (blue-blind)
#DCBFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcb5f;
/* rgb */ color: rgb(207, 203, 95);
/* oklch */ color: oklch(82.4% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#e0da90',
    500: '#cfcb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb5f;
$custom-light: #e0da90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb5f",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 57.857,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82377,
    "c": 0.13049,
    "h": 107
  },
  "luminance": 0.56803
}

Semantic roles & 50–950 ramp

primary
#CFCB5F
secondary
#414491
accent
#50DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFCB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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