#CFB254#CFB254

#CFB254 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.118 H 92.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CFB254
RGBrgb(207, 178, 84)
HSLhsl(46, 56%, 57%)
HSVhsv(46, 59%, 81%)
CMYKcmyk(0%, 14%, 59.4%, 18.8%)
CIE-LABlab(73.38, -0.67, 50.96)
CIE-LCHlch(73.38, 50.96, 90.76°)
OKLaboklab(77.04% -0.0047 0.1181)
OKLCHoklch(77.04% 0.118 92.3)
XYZxyz(43.2547, 45.7485, 14.9378)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB254 #5471CF
analogous
#CF7554 #CFB254 #AECF54
triadic
#CFB254 #54CFB2 #B254CF
tetradic
#CFB254 #54CF75 #5471CF #CF54AE
square
#CFB254 #54CF75 #5471CF #CF54AE
split-complementary
#CFB254 #54AECF #7554CF
monochromatic
#846D25 #B39532 #CFB254 #DCC884 #EADDB4

Accessibility & contrast

On white

2.07
#CFB254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CFB254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB254
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB254#FFFFFF#000000##000000
##CFB2541.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4B
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#DEA59D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb254;
/* rgb */ color: rgb(207, 178, 84);
/* oklch */ color: oklch(77.0% 0.118 92.3);
Tailwind
colors: {
  custom: {
    50: '#e1c887',
    500: '#cfb254',
    950: '#000000',
  },
}
SCSS
$custom: #cfb254;
$custom-light: #e1c887;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb254",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 45.854,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77038,
    "c": 0.11818,
    "h": 92.3
  },
  "luminance": 0.45746
}

Semantic roles & 50–950 ramp

primary
#CFB254
secondary
#A6B2D8
accent
#6CDF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB254

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

Preview Lab → · Contrast checker → · Palette generator →

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