#CBCF5F#CBCF5F

#CBCF5F is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.135 H 110.9°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CBCF5F
RGBrgb(203, 207, 95)
HSLhsl(62, 54%, 59%)
HSVhsv(62, 54%, 81%)
CMYKcmyk(1.9%, 0%, 54.1%, 18.8%)
CIE-LABlab(80.82, -16.40, 54.26)
CIE-LCHlch(80.82, 56.69, 106.81°)
OKLaboklab(82.9% -0.0483 0.1265)
OKLCHoklch(82.9% 0.135 110.9)
XYZxyz(49.0081, 58.1495, 19.4666)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF5F #635FCF
analogous
#CF9B5F #CBCF5F #93CF5F
triadic
#CBCF5F #5FCBCF #CF5FCB
tetradic
#CBCF5F #5FCF9B #635FCF #CF5F93
square
#CBCF5F #5FCF9B #635FCF #CF5F93
split-complementary
#CBCF5F #5F93CF #9B5FCF
monochromatic
#878A29 #B5B938 #CBCF5F #DADD8E #EAEBBD

Accessibility & contrast

On white

1.66
#CBCF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CBCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF5F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF5F#FFFFFF#000000##000000
##CBCF5F1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#D7C4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbcf5f;
/* rgb */ color: rgb(203, 207, 95);
/* oklch */ color: oklch(82.9% 0.135 110.9);
Tailwind
colors: {
  custom: {
    50: '#dddd90',
    500: '#cbcf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf5f;
$custom-light: #dddd90;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf5f",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 62.143,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.13544,
    "h": 110.9
  },
  "luminance": 0.58148
}

Semantic roles & 50–950 ramp

primary
#CBCF5F
secondary
#444191
accent
#4BDD50
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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