#CBCF45#CBCF45

#CBCF45 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.7% C 0.156 H 111.0°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CBCF45
RGBrgb(203, 207, 69)
HSLhsl(62, 59%, 54%)
HSVhsv(62, 67%, 81%)
CMYKcmyk(1.9%, 0%, 66.7%, 18.8%)
CIE-LABlab(80.60, -18.17, 65.02)
CIE-LCHlch(80.60, 67.51, 105.61°)
OKLaboklab(82.65% -0.056 0.1459)
OKLCHoklch(82.65% 0.156 111)
XYZxyz(48.0171, 57.7531, 14.2471)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF45 #4945CF
analogous
#CF8E45 #CBCF45 #86CF45
triadic
#CBCF45 #45CBCF #CF45CB
tetradic
#CBCF45 #45CF8E #4945CF #CF4586
square
#CBCF45 #45CF8E #4945CF #CF4586
split-complementary
#CBCF45 #4586CF #8E45CF
monochromatic
#777A20 #A7AB2C #CBCF45 #D9DC76 #E6E8A6

Accessibility & contrast

On white

1.67
#CBCF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CBCF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF45
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF45#FFFFFF#000000##000000
##CBCF451.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC631
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#D9C3B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf45;
/* rgb */ color: rgb(203, 207, 69);
/* oklch */ color: oklch(82.7% 0.156 111.0);
Tailwind
colors: {
  custom: {
    50: '#dedd80',
    500: '#cbcf45',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf45;
$custom-light: #dedd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf45",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 61.739,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82652,
    "c": 0.15625,
    "h": 111
  },
  "luminance": 0.57752
}

Semantic roles & 50–950 ramp

primary
#CBCF45
secondary
#383682
accent
#46E24A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBCF45

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

Preview Lab → · Contrast checker → · Palette generator →

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