#CFCB5A#CFCB5A

#CFCB5A is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.135 H 107.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CFCB5A
RGBrgb(207, 203, 90)
HSLhsl(58, 55%, 58%)
HSVhsv(58, 57%, 81%)
CMYKcmyk(0%, 1.9%, 56.5%, 18.8%)
CIE-LABlab(80.02, -13.14, 55.70)
CIE-LCHlch(80.02, 57.23, 103.27°)
OKLaboklab(82.32% -0.0398 0.129)
OKLCHoklch(82.32% 0.135 107.1)
XYZxyz(48.9350, 56.7169, 18.0406)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB5A #5A5ECF
analogous
#CF905A #CFCB5A #98CF5A
triadic
#CFCB5A #5ACFCB #CB5ACF
tetradic
#CFCB5A #5ACF90 #5A5ECF #CF5A98
square
#CFCB5A #5ACF90 #5A5ECF #CF5A98
split-complementary
#CFCB5A #5A98CF #905ACF
monochromatic
#878427 #B7B235 #CFCB5A #DDDA89 #EBE9B9

Accessibility & contrast

On white

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

On black

12.34
#CFCB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB5A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB5A#FFFFFF#000000##000000
##CFCB5A1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44E
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#DCBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb5a;
/* rgb */ color: rgb(207, 203, 90);
/* oklch */ color: oklch(82.3% 0.135 107.1);
Tailwind
colors: {
  custom: {
    50: '#e0da8c',
    500: '#cfcb5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb5a;
$custom-light: #e0da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb5a",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 57.949,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82322,
    "c": 0.13498,
    "h": 107.1
  },
  "luminance": 0.56715
}

Semantic roles & 50–950 ramp

primary
#CFCB5A
secondary
#3F428E
accent
#4FDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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