#CBC27F#CBC27F

#CBC27F is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.087 H 101.6°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CBC27F
RGBrgb(203, 194, 127)
HSLhsl(53, 42%, 65%)
HSVhsv(53, 37%, 80%)
CMYKcmyk(0%, 4.4%, 37.4%, 20.4%)
CIE-LABlab(77.76, -6.67, 34.86)
CIE-LCHlch(77.76, 35.49, 100.84°)
OKLaboklab(80.6% -0.0175 0.0857)
OKLCHoklch(80.6% 0.087 101.6)
XYZxyz(47.7519, 52.8136, 27.7532)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC27F #7F88CB
analogous
#CB9C7F #CBC27F #AECB7F
triadic
#CBC27F #7FCBC2 #C27FCB
tetradic
#CBC27F #7FCB9C #7F88CB #CB7FAE
square
#CBC27F #7FCB9C #7F88CB #CB7FAE
split-complementary
#CBC27F #7FAECB #9C7FCB
monochromatic
#94893C #B9AD53 #CBC27F #DDD7AB #EEEBD6

Accessibility & contrast

On white

1.82
#CBC27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CBC27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC27F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC27F#FFFFFF#000000##000000
##CBC27F1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7A
Deuteranopia (green-blind)
#D1C282
Tritanopia (blue-blind)
#D6B9B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc27f;
/* rgb */ color: rgb(203, 194, 127);
/* oklch */ color: oklch(80.6% 0.087 101.6);
Tailwind
colors: {
  custom: {
    50: '#dcd4a5',
    500: '#cbc27f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc27f;
$custom-light: #dcd4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc27f",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 127
  },
  "hsl": {
    "h": 52.895,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80599,
    "c": 0.08748,
    "h": 101.6
  },
  "luminance": 0.52812
}

Semantic roles & 50–950 ramp

primary
#CBC27F
secondary
#545C9A
accent
#40B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC27F

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

Preview Lab → · Contrast checker → · Palette generator →

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