#CFBD2C#CFBD2C

#CFBD2C is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.154 H 101.8°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CFBD2C
RGBrgb(207, 189, 44)
HSLhsl(53, 65%, 49%)
HSVhsv(53, 79%, 81%)
CMYKcmyk(0%, 8.7%, 78.7%, 18.8%)
CIE-LABlab(75.97, -8.52, 69.36)
CIE-LCHlch(75.97, 69.88, 97.00°)
OKLaboklab(79% -0.0314 0.1505)
OKLCHoklch(79% 0.154 101.8)
XYZxyz(44.3865, 49.8445, 9.6653)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD2C #2C3ECF
analogous
#CF6C2C #CFBD2C #90CF2C
triadic
#CFBD2C #2CCFBD #BD2CCF
tetradic
#CFBD2C #2CCF6C #2C3ECF #CF2C90
square
#CFBD2C #2CCF6C #2C3ECF #CF2C90
split-complementary
#CFBD2C #2C90CF #6C2CCF
monochromatic
#6A6117 #9D8F21 #CFBD2C #DCCE5C #E7DD8E

Accessibility & contrast

On white

1.91
#CFBD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#CFBD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD2C
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD2C#FFFFFF#000000##000000
##CFBD2C1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D4BF38
Tritanopia (blue-blind)
#DFAFA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbd2c;
/* rgb */ color: rgb(207, 189, 44);
/* oklch */ color: oklch(79.0% 0.154 101.8);
Tailwind
colors: {
  custom: {
    50: '#e2d072',
    500: '#cfbd2c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd2c;
$custom-light: #e2d072;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd2c",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 44
  },
  "hsl": {
    "h": 53.374,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78998,
    "c": 0.15373,
    "h": 101.8
  },
  "luminance": 0.49842
}

Semantic roles & 50–950 ramp

primary
#CFBD2C
secondary
#858ED1
accent
#52E840
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CFBD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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